mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-10 13:48:44 +00:00
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
This commit is contained in:
@ -822,6 +822,7 @@ void Interpreter::visitCallSite(CallSite CS) {
|
||||
SF.CurInst = Prev;
|
||||
++SF.CurInst;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
SF.Caller = CS;
|
||||
|
Reference in New Issue
Block a user