[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp Interpreter.h
Brian Gaeke
gaeke at cs.uiuc.edu
Fri Nov 7 14:08:05 PST 2003
Changes in directory llvm/lib/ExecutionEngine/Interpreter:
Execution.cpp updated: 1.110 -> 1.111
Interpreter.h updated: 1.50 -> 1.51
---
Log message:
Add stub version of unwind support
---
Diffs of the changes: (+5 -0)
Index: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
diff -u llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.110 llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.111
--- llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.110 Fri Nov 7 14:04:21 2003
+++ llvm/lib/ExecutionEngine/Interpreter/Execution.cpp Fri Nov 7 14:07:05 2003
@@ -475,6 +475,10 @@
popStackAndReturnValueToCaller(RetTy, Result);
}
+void Interpreter::visitUnwindInst(UnwindInst &I) {
+ abort ();
+}
+
void Interpreter::visitBranchInst(BranchInst &I) {
ExecutionContext &SF = ECStack.back();
BasicBlock *Dest;
Index: llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
diff -u llvm/lib/ExecutionEngine/Interpreter/Interpreter.h:1.50 llvm/lib/ExecutionEngine/Interpreter/Interpreter.h:1.51
--- llvm/lib/ExecutionEngine/Interpreter/Interpreter.h:1.50 Fri Nov 7 14:04:22 2003
+++ llvm/lib/ExecutionEngine/Interpreter/Interpreter.h Fri Nov 7 14:07:06 2003
@@ -125,6 +125,7 @@
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);
More information about the llvm-commits
mailing list