aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/Interpreter.h
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-11-07 19:26:23 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-11-07 19:26:23 +0000
commit2cb474c8ad8d9d5fe65e801e19e1d96e2c3128b4 (patch)
treed73a1cd397c385604e02513092c44dbfa350ca8d /lib/ExecutionEngine/Interpreter/Interpreter.h
parentf1972c6aa2629d64edff0baba84a00d171557bdc (diff)
Use CallSites for call sites, instead of CallInsts. A revolutionary concept.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9784 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h
index 08d910bb58..06e82572c1 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/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
};