Index: test/cctest/test-hashing.cc |
diff --git a/test/cctest/test-hashing.cc b/test/cctest/test-hashing.cc |
index 4c569bff67d95e36c6749c7a0d9a794a05727b4d..d6f10068157b2ea3bc616f5aadf7caf4ce03d93e 100644 |
--- a/test/cctest/test-hashing.cc |
+++ b/test/cctest/test-hashing.cc |
@@ -127,8 +127,8 @@ void check(uint32_t key) { |
HASH_FUNCTION hash = FUNCTION_CAST<HASH_FUNCTION>(code->entry()); |
#ifdef USE_SIMULATOR |
- uint32_t codegen_hash = static_cast<uint32_t>( |
- reinterpret_cast<uintptr_t>(CALL_GENERATED_CODE(hash, 0, 0, 0, 0, 0))); |
+ uint32_t codegen_hash = static_cast<uint32_t>(reinterpret_cast<uintptr_t>( |
+ CALL_GENERATED_CODE(isolate, hash, 0, 0, 0, 0, 0))); |
#else |
uint32_t codegen_hash = hash(); |
#endif |