diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-11-07 20:07:06 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-11-07 20:07:06 +0000 |
commit | 9bf06b155c3e158ac405d2df0f1b9c9c5b387311 (patch) | |
tree | dc415ba70884c741de986b9657e0cd6e978aff4a /lib/ExecutionEngine | |
parent | fea483d7c027c595101dce825bdf3f512bf9aaca (diff) | |
download | external_llvm-9bf06b155c3e158ac405d2df0f1b9c9c5b387311.zip external_llvm-9bf06b155c3e158ac405d2df0f1b9c9c5b387311.tar.gz external_llvm-9bf06b155c3e158ac405d2df0f1b9c9c5b387311.tar.bz2 |
Add stub version of unwind support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Execution.cpp | 4 | ||||
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Interpreter.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index e04f564..c5facde 100644 --- a/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/lib/ExecutionEngine/Interpreter/Execution.cpp @@ -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; diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h index 974aea8..04baf36 100644 --- a/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -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); |