Fix a -Wreorder warning.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 2 Aug 2010 05:43:46 +0000 (05:43 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 2 Aug 2010 05:43:46 +0000 (05:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110022 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/MergeFunctions.cpp

index d084b2a0752a07cc5c49fb33a1c2d3fa56532c51..43b08bd9b3e961d3ca4d2e17ddc325a4c701e7dc 100644 (file)
@@ -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();