Add stub version of unwind support
llvm-svn: 9789
This commit is contained in:
parent
a6454d3532
commit
6d145eb65f
@ -475,6 +475,10 @@ void Interpreter::visitReturnInst(ReturnInst &I) {
|
||||
popStackAndReturnValueToCaller(RetTy, Result);
|
||||
}
|
||||
|
||||
void Interpreter::visitUnwindInst(UnwindInst &I) {
|
||||
abort ();
|
||||
}
|
||||
|
||||
void Interpreter::visitBranchInst(BranchInst &I) {
|
||||
ExecutionContext &SF = ECStack.back();
|
||||
BasicBlock *Dest;
|
||||
|
||||
@ -125,6 +125,7 @@ public:
|
||||
void visitCallSite(CallSite CS);
|
||||
void visitCallInst(CallInst &I) { visitCallSite (CallSite (&I)); }
|
||||
void visitInvokeInst(InvokeInst &I) { visitCallSite (CallSite (&I)); }
|
||||
void visitUnwindInst(UnwindInst &I);
|
||||
|
||||
void visitShl(ShiftInst &I);
|
||||
void visitShr(ShiftInst &I);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user