Index: src/ia32/lithium-codegen-ia32.cc |
=================================================================== |
--- src/ia32/lithium-codegen-ia32.cc (revision 6307) |
+++ src/ia32/lithium-codegen-ia32.cc (working copy) |
@@ -250,8 +250,8 @@ |
Operand LCodeGen::ToOperand(LOperand* op) const { |
- if (op->IsRegister()) return Operand(ToRegister(op)); |
- if (op->IsDoubleRegister()) return Operand(ToDoubleRegister(op)); |
+ ASSERT(!op->IsRegister()); |
+ ASSERT(!op->IsDoubleRegister()); |
ASSERT(op->IsStackSlot() || op->IsDoubleStackSlot()); |
int index = op->index(); |
if (index >= 0) { |