[llvm] r318029 - [CodeExtractor] Add missing AllowVarArgs initialization.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 13 03:08:47 PST 2017


Author: fhahn
Date: Mon Nov 13 03:08:47 2017
New Revision: 318029

URL: http://llvm.org/viewvc/llvm-project?rev=318029&view=rev
Log:
[CodeExtractor] Add missing AllowVarArgs initialization.

Modified:
    llvm/trunk/lib/Transforms/Utils/CodeExtractor.cpp

Modified: llvm/trunk/lib/Transforms/Utils/CodeExtractor.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/CodeExtractor.cpp?rev=318029&r1=318028&r2=318029&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/CodeExtractor.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/CodeExtractor.cpp Mon Nov 13 03:08:47 2017
@@ -176,8 +176,9 @@ CodeExtractor::CodeExtractor(DominatorTr
                              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.




More information about the llvm-commits mailing list