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
This commit is contained in:
Brian Gaeke
2003-11-07 19:26:23 +00:00
parent f1972c6aa2
commit 2cb474c8ad
2 changed files with 10 additions and 9 deletions

View File

@@ -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
};