use ir::Type in Compiler::return_

This commit is contained in:
Joshua Warner
2014-04-30 20:01:14 -06:00
committed by Joshua Warner
parent 587b1e3eda
commit d9fee1025c
3 changed files with 30 additions and 10 deletions

View File

@ -106,7 +106,8 @@ class Compiler {
OperandType resultType,
unsigned argumentFootprint) = 0;
virtual void return_(unsigned size, Operand* value) = 0;
virtual void return_(ir::Type type, Operand* value) = 0;
virtual void return_() = 0;
virtual void initLocal(unsigned size, unsigned index, OperandType type) = 0;
virtual void initLocalsFromLogicalIp(unsigned logicalIp) = 0;