Index: test/cctest/test-macro-assembler-mips.cc |
diff --git a/test/cctest/test-macro-assembler-mips.cc b/test/cctest/test-macro-assembler-mips.cc |
index e65f58ce01629824625dd7c3a4ba2815c8e1e519..f531e9632fb3d801bfc734a4ecc552cf35e8f6a3 100644 |
--- a/test/cctest/test-macro-assembler-mips.cc |
+++ b/test/cctest/test-macro-assembler-mips.cc |
@@ -116,8 +116,8 @@ TEST(CopyBytes) { |
for (byte* dest = dest_buffer; dest < dest_buffer + fuzz; dest++) { |
memset(dest_buffer, 0, data_size); |
CHECK(dest + size < dest_buffer + data_size); |
- (void) CALL_GENERATED_CODE(f, reinterpret_cast<int>(src), |
- reinterpret_cast<int>(dest), size, 0, 0); |
+ (void)CALL_GENERATED_CODE(isolate, f, reinterpret_cast<int>(src), |
+ reinterpret_cast<int>(dest), size, 0, 0); |
// a0 and a1 should point at the first byte after the copied data. |
CHECK_EQ(src + size, a0_); |
CHECK_EQ(dest + size, a1_); |
@@ -254,7 +254,8 @@ TEST(jump_tables4) { |
#endif |
F1 f = FUNCTION_CAST<F1>(code->entry()); |
for (int i = 0; i < kNumCases; ++i) { |
- int res = reinterpret_cast<int>(CALL_GENERATED_CODE(f, i, 0, 0, 0, 0)); |
+ int res = |
+ reinterpret_cast<int>(CALL_GENERATED_CODE(isolate, f, i, 0, 0, 0, 0)); |
::printf("f(%d) = %d\n", i, res); |
CHECK_EQ(values[i], res); |
} |