use ir::Type in Compiler::loadLocal

This commit is contained in:
Joshua Warner
2014-05-01 07:18:12 -06:00
committed by Joshua Warner
parent 53b68a693d
commit 85f114ea0f
3 changed files with 51 additions and 37 deletions

View File

@ -101,7 +101,7 @@ class Compiler {
virtual void initLocalsFromLogicalIp(unsigned logicalIp) = 0;
virtual void storeLocal(unsigned footprint, Operand* src,
unsigned index) = 0;
virtual Operand* loadLocal(unsigned footprint, unsigned index) = 0;
virtual Operand* loadLocal(ir::Type type, unsigned index) = 0;
virtual void saveLocals() = 0;
virtual void checkBounds(Operand* object, unsigned lengthOffset,