add asserts

This commit is contained in:
Joshua Warner
2014-05-01 12:37:01 -06:00
parent 42fec084b0
commit 865041b688
3 changed files with 18 additions and 12 deletions

View File

@ -73,7 +73,7 @@ class Compiler {
virtual Operand* constant(int64_t value, ir::Type type) = 0;
virtual Operand* promiseConstant(Promise* value, ir::Type type) = 0;
virtual Operand* address(Promise* address) = 0;
virtual Operand* address(ir::Type type, Promise* address) = 0;
virtual Operand* memory(Operand* base,
ir::Type type,
int displacement = 0,