Index: test/cctest/test-assembler-x64.cc |
diff --git a/test/cctest/test-assembler-x64.cc b/test/cctest/test-assembler-x64.cc |
index 8dad92858138690a1bbff38f7c3ca717c2f635ef..7d17a3373eca686fd1c3f1e88196f563a52a0c0b 100644 |
--- a/test/cctest/test-assembler-x64.cc |
+++ b/test/cctest/test-assembler-x64.cc |
@@ -614,7 +614,8 @@ TEST(StackAlignmentForSSE2) { |
v8::Isolate* isolate = CcTest::isolate(); |
v8::HandleScope handle_scope(isolate); |
- v8::Handle<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); |
+ v8::Handle<v8::ObjectTemplate> global_template = |
+ v8::ObjectTemplate::New(isolate); |
global_template->Set(v8_str("do_sse2"), |
v8::FunctionTemplate::New(isolate, DoSSE2)); |