diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-11-07 05:22:49 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-11-07 05:22:49 +0000 |
commit | af955ba503e37c3e1efb694a01bce84b7e5d05a7 (patch) | |
tree | 5021712cb242469669e7cb124c75145a36d012ac /lib/ExecutionEngine/Interpreter/Interpreter.h | |
parent | 5b3fb034f902f52fac432bd15f0f0c153f8074ef (diff) |
Refactor the return-from-function code into popStackAndReturnValueToCaller().
Make external function calls slightly less special; now they get a stack frame.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9765 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Interpreter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h index 93f2648171..08d910bb58 100644 --- a/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -157,6 +157,7 @@ private: // Helper functions GenericValue getOperandValue(Value *V, ExecutionContext &SF); GenericValue executeCastOperation(Value *SrcVal, const Type *Ty, ExecutionContext &SF); + void popStackAndReturnValueToCaller(const Type *RetTy, GenericValue Result); }; #endif |