use ir::Type in Compiler::push

This commit is contained in:
Joshua Warner
2014-04-30 20:11:54 -06:00
committed by Joshua Warner
parent d9fee1025c
commit 49a5a9f398
3 changed files with 79 additions and 57 deletions

View File

@ -83,7 +83,7 @@ class Compiler {
virtual Operand* register_(int number) = 0;
virtual void push(unsigned footprint) = 0;
virtual void push(unsigned footprint, Operand* value) = 0;
virtual void push(ir::Type type, Operand* value) = 0;
virtual void save(unsigned footprint, Operand* value) = 0;
virtual Operand* pop(unsigned footprint) = 0;
virtual void pushed() = 0;