aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-04-23 18:05:28 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-04-23 18:05:28 +0000
commitb440dea57b4680f78e5eca9fb83dc26951a1d1e0 (patch)
treee8c02a5679671f3a7e239eeb322564b7516e30f8 /lib/ExecutionEngine/Interpreter
parent6893eadc9524de6ade68d720701c238a5b1a8ebf (diff)
Go back to the interpreter main loop after performing intrinsic lowering,
because 1) the first instruction might not be a call site, and 2) CS and SF.Caller were not getting set to point to the new call site anyway (resulting in a crash on e.g. call %llvm.memset). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13122 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter')
-rw-r--r--lib/ExecutionEngine/Interpreter/Execution.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp
index 2ecd72eb3b..769d0e6e96 100644
--- a/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -822,6 +822,7 @@ void Interpreter::visitCallSite(CallSite CS) {
SF.CurInst = Prev;
++SF.CurInst;
}
+ return;
}
SF.Caller = CS;