Browse Source

[linux-port] Fix linux build break. (#1767)

Ehsan 6 năm trước cách đây
mục cha
commit
cd237f5c3f

+ 1 - 1
lib/Transforms/Scalar/DxilLoopUnroll.cpp

@@ -645,7 +645,7 @@ bool DxilLoopUnroll::runOnLoop(Loop *L, LPPassManager &LPM) {
     LoopIteration *PrevIteration = nullptr;
     LoopIteration *PrevIteration = nullptr;
     if (Iterations.size())
     if (Iterations.size())
       PrevIteration = Iterations.back().get();
       PrevIteration = Iterations.back().get();
-    Iterations.push_back(std::make_unique<LoopIteration>());
+    Iterations.push_back(llvm::make_unique<LoopIteration>());
     LoopIteration &CurIteration = *Iterations.back().get();
     LoopIteration &CurIteration = *Iterations.back().get();
 
 
     // Clone the blocks.
     // Clone the blocks.