Index: src/ia32/ic-ia32.cc |
diff --git a/src/ia32/ic-ia32.cc b/src/ia32/ic-ia32.cc |
index e05031b8e7b2c52f199e81ad200606ee656f0c95..5f32910c44e68041dd044fc6c2d1ef3f89f9656c 100644 |
--- a/src/ia32/ic-ia32.cc |
+++ b/src/ia32/ic-ia32.cc |
@@ -92,7 +92,8 @@ static void GenerateNameDictionaryReceiverCheck(MacroAssembler* masm, |
__ j(not_zero, miss); |
__ mov(r0, FieldOperand(receiver, JSObject::kPropertiesOffset)); |
- __ CheckMap(r0, FACTORY->hash_table_map(), miss, DONT_DO_SMI_CHECK); |
+ __ CheckMap(r0, masm->isolate()->factory()->hash_table_map(), miss, |
+ DONT_DO_SMI_CHECK); |
} |
@@ -270,7 +271,7 @@ static void GenerateFastArrayLoad(MacroAssembler* masm, |
if (not_fast_array != NULL) { |
// Check that the object is in fast mode and writable. |
__ CheckMap(scratch, |
- FACTORY->fixed_array_map(), |
+ masm->isolate()->factory()->fixed_array_map(), |
not_fast_array, |
DONT_DO_SMI_CHECK); |
} else { |
@@ -282,7 +283,7 @@ static void GenerateFastArrayLoad(MacroAssembler* masm, |
// Fast case: Do the load. |
STATIC_ASSERT((kPointerSize == 4) && (kSmiTagSize == 1) && (kSmiTag == 0)); |
__ mov(scratch, FieldOperand(scratch, key, times_2, FixedArray::kHeaderSize)); |
- __ cmp(scratch, Immediate(FACTORY->the_hole_value())); |
+ __ cmp(scratch, Immediate(masm->isolate()->factory()->the_hole_value())); |
// In case the loaded value is the_hole we have to consult GetProperty |
// to ensure the prototype chain is searched. |
__ j(equal, out_of_range); |