Index: test/cctest/test-assembler-ia32.cc |
diff --git a/test/cctest/test-assembler-ia32.cc b/test/cctest/test-assembler-ia32.cc |
index 76eecc02e7105100c9f872160793d3703ef4c896..f969fbf1392f6791e66f2b4f241389b569d9a74d 100644 |
--- a/test/cctest/test-assembler-ia32.cc |
+++ b/test/cctest/test-assembler-ia32.cc |
@@ -532,7 +532,7 @@ TEST(StackAlignmentForSSE2) { |
CHECK_EQ(0, OS::ActivationFrameAlignment() % 16); |
- v8::Isolate* isolate = v8::Isolate::GetCurrent(); |
+ v8::Isolate* isolate = CcTest::isolate(); |
v8::HandleScope handle_scope(isolate); |
v8::Handle<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); |
global_template->Set(v8_str("do_sse2"), v8::FunctionTemplate::New(DoSSE2)); |