瀏覽代碼

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

Ehsan 6 年之前
父節點
當前提交
cd237f5c3f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Transforms/Scalar/DxilLoopUnroll.cpp

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

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