diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-11-07 19:26:23 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-11-07 19:26:23 +0000 |
commit | 18b59578c97a9272ccb34006f6342d94679dff6a (patch) | |
tree | b4c060124dc5a429fd2e6688856e9da42d07c4e6 /llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | |
parent | f578c05d5783e7394e7f781fb6c219f3b0ffdf77 (diff) | |
download | bcm5719-llvm-18b59578c97a9272ccb34006f6342d94679dff6a.tar.gz bcm5719-llvm-18b59578c97a9272ccb34006f6342d94679dff6a.zip |
Use CallSites for call sites, instead of CallInsts. A revolutionary concept.
llvm-svn: 9784
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h index 08d910bb589..06e82572c19 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -18,6 +18,7 @@ #include "llvm/ExecutionEngine/ExecutionEngine.h" #include "llvm/ExecutionEngine/GenericValue.h" #include "llvm/Support/InstVisitor.h" +#include "llvm/Support/CallSite.h" #include "llvm/Target/TargetData.h" #include "Support/DataTypes.h" @@ -64,8 +65,8 @@ struct ExecutionContext { BasicBlock::iterator CurInst; // The next instruction to execute std::map<Value *, GenericValue> Values; // LLVM values used in this invocation std::vector<GenericValue> VarArgs; // Values passed through an ellipsis - CallInst *Caller; // Holds the call that called subframes. - // NULL if main func or debugger invoked fn + CallSite Caller; // Holds the call that called subframes. + // NULL if main func or debugger invoked fn AllocaHolderHandle Allocas; // Track memory allocated by alloca }; |