diff options
Diffstat (limited to 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r-- | include/llvm/CodeGen/MachineFunction.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index 3ef4b10d3f..631e823719 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h @@ -31,7 +31,6 @@ class MachineCodeForMethod : private Annotation { unsigned currentTmpValuesSize; std::hash_set<const Constant*> constantsForConstPool; std::hash_map<const Value*, int> offsets; - // hash_map<const Value*, int> offsetsFromSP; public: /*ctor*/ MachineCodeForMethod(const Method* method, @@ -72,6 +71,10 @@ public: inline void markAsLeafMethod() { compiledAsLeaf = true; } + int computeOffsetforLocalVar (const TargetMachine& target, + const Value* local, + unsigned int size = 0); + int allocateLocalVar (const TargetMachine& target, const Value* local, unsigned int size = 0); |