Index: test/cctest/test-assembler-ia32.cc |
diff --git a/test/cctest/test-assembler-ia32.cc b/test/cctest/test-assembler-ia32.cc |
index 20eec2e0ba3441b56efb609d34f8b15b73d0d553..db28231d63fb3e322d9bfae3c40366baa2214c4c 100644 |
--- a/test/cctest/test-assembler-ia32.cc |
+++ b/test/cctest/test-assembler-ia32.cc |
@@ -534,7 +534,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)); |