Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index f8caecd67d877ac965f458dec7e5fc1a4818b4b1..5d25695f2db2c58781c16d18fc095590355b4d23 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -3525,7 +3525,7 @@ void MacroAssembler::TestJSArrayForAllocationMemento( |
cmp(scratch_reg, Operand::StaticVariable(new_space_allocation_top)); |
j(greater, &no_memento_available); |
cmp(MemOperand(scratch_reg, -AllocationMemento::kSize), |
- Immediate(Handle<Map>(isolate()->heap()->allocation_memento_map()))); |
+ Immediate(isolate()->factory()->allocation_memento_map())); |
bind(&no_memento_available); |
} |