summaryrefslogtreecommitdiff
path: root/src/passes/StackIR.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/StackIR.cpp')
-rw-r--r--src/passes/StackIR.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/StackIR.cpp b/src/passes/StackIR.cpp
index 2614a36a1..bbce6bae8 100644
--- a/src/passes/StackIR.cpp
+++ b/src/passes/StackIR.cpp
@@ -40,7 +40,7 @@ struct GenerateStackIR : public WalkerPass<PostWalker<GenerateStackIR>> {
void doWalkFunction(Function* func) {
StackIRGenerator stackIRGen(*getModule(), func);
stackIRGen.write();
- func->stackIR = make_unique<StackIR>();
+ func->stackIR = std::make_unique<StackIR>();
func->stackIR->swap(stackIRGen.getStackIR());
}
};