Index: test/cctest/test-disasm-ia32.cc |
diff --git a/test/cctest/test-disasm-ia32.cc b/test/cctest/test-disasm-ia32.cc |
index ca81a5a4f5afd51dd45e2f3286126232171bb35a..14447b2c45f435b82f1d2ec6d946d5ca5cff6f8a 100644 |
--- a/test/cctest/test-disasm-ia32.cc |
+++ b/test/cctest/test-disasm-ia32.cc |
@@ -61,7 +61,7 @@ TEST(DisasmIa320) { |
__ sub(eax, Immediate(12345678)); |
__ xor_(eax, 12345678); |
__ and_(eax, 12345678); |
- Handle<FixedArray> foo = FACTORY->NewFixedArray(10, TENURED); |
+ Handle<FixedArray> foo = isolate->factory()->NewFixedArray(10, TENURED); |
__ cmp(eax, foo); |
// ---- This one caused crash |
@@ -92,7 +92,7 @@ TEST(DisasmIa320) { |
__ cmp(edx, 3); |
__ cmp(edx, Operand(esp, 4)); |
__ cmp(Operand(ebp, ecx, times_4, 0), Immediate(1000)); |
- Handle<FixedArray> foo2 = FACTORY->NewFixedArray(10, TENURED); |
+ Handle<FixedArray> foo2 = isolate->factory()->NewFixedArray(10, TENURED); |
__ cmp(ebx, foo2); |
__ cmpb(ebx, Operand(ebp, ecx, times_2, 0)); |
__ cmpb(Operand(ebp, ecx, times_2, 0), ebx); |