[CodeExtractor] Add missing AllowVarArgs initialization.
authorFlorian Hahn <florian.hahn@arm.com>
Mon, 13 Nov 2017 11:08:47 +0000 (11:08 +0000)
committerFlorian Hahn <florian.hahn@arm.com>
Mon, 13 Nov 2017 11:08:47 +0000 (11:08 +0000)
llvm-svn: 318029

llvm/lib/Transforms/Utils/CodeExtractor.cpp

index f9e2727..c65cf2e 100644 (file)
@@ -176,8 +176,9 @@ CodeExtractor::CodeExtractor(DominatorTree &DT, Loop &L, bool AggregateArgs,
                              BlockFrequencyInfo *BFI,
                              BranchProbabilityInfo *BPI)
     : DT(&DT), AggregateArgs(AggregateArgs || AggregateArgsOpt), BFI(BFI),
-      BPI(BPI), Blocks(buildExtractionBlockSet(L.getBlocks(), &DT,
-                                               /* AllowVarArgs */ false)) {}
+      BPI(BPI), AllowVarArgs(false),
+      Blocks(buildExtractionBlockSet(L.getBlocks(), &DT,
+                                     /* AllowVarArgs */ false)) {}
 
 /// definedInRegion - Return true if the specified value is defined in the
 /// extracted region.