mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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:
@@ -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
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user