Index: test/cctest/test-hashing.cc |
diff --git a/test/cctest/test-hashing.cc b/test/cctest/test-hashing.cc |
index 63bb31d2a33e973a41c616a4e63c3bcd685c5ded..3ec844e9c723ffdb2cc4cdef5931f17112b3bec1 100644 |
--- a/test/cctest/test-hashing.cc |
+++ b/test/cctest/test-hashing.cc |
@@ -151,7 +151,7 @@ void generate(MacroAssembler* masm, uint32_t key) { |
void check(i::Vector<const uint8_t> string) { |
- Isolate* isolate = Isolate::Current(); |
+ Isolate* isolate = CcTest::i_isolate(); |
Factory* factory = isolate->factory(); |
HandleScope scope(isolate); |
@@ -188,12 +188,12 @@ void check(i::Vector<const char> s) { |
void check(uint32_t key) { |
- Isolate* isolate = Isolate::Current(); |
+ Isolate* isolate = CcTest::i_isolate(); |
Factory* factory = isolate->factory(); |
HandleScope scope(isolate); |
v8::internal::byte buffer[2048]; |
- MacroAssembler masm(Isolate::Current(), buffer, sizeof buffer); |
+ MacroAssembler masm(CcTest::i_isolate(), buffer, sizeof buffer); |
generate(&masm, key); |