Skip to content

Commit

Permalink
Fix a -Wreorder warning.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110022 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
ddunbar committed Aug 2, 2010
1 parent 78d4330 commit 44c7486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Transforms/IPO/MergeFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ namespace {
class FunctionComparator {
public:
FunctionComparator(TargetData *TD, Function *F1, Function *F2)
: TD(TD), F1(F1), F2(F2) {}
: F1(F1), F2(F2), TD(TD) {}

// Compare - test whether the two functions have equivalent behaviour.
bool Compare();
Expand Down

0 comments on commit 44c7486

Please sign in to comment.