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,
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);
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,
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);