Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 49263658b50dbe7962b1eb75def393055a59de9b..6c934b7ce9a7654a3b8fd6faa4238a2481f899dd 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -1562,10 +1562,9 @@ void LCodeGen::DoDivI(LDivI* instr) { |
Register dividend = ToRegister(instr->dividend()); |
Register divisor = ToRegister(instr->divisor()); |
Register remainder = ToRegister(instr->temp()); |
- Register result = ToRegister(instr->result()); |
ASSERT(dividend.is(eax)); |
ASSERT(remainder.is(edx)); |
- ASSERT(result.is(eax)); |
+ ASSERT(ToRegister(instr->result()).is(eax)); |
ASSERT(!divisor.is(eax)); |
ASSERT(!divisor.is(edx)); |