Index: test/cctest/test-assembler-x64.cc |
diff --git a/test/cctest/test-assembler-x64.cc b/test/cctest/test-assembler-x64.cc |
index d33da34a12812e36f0335ee2c475a4a345ef8526..473c74d19485b45cb13020b0fc9768d6dc1f2659 100644 |
--- a/test/cctest/test-assembler-x64.cc |
+++ b/test/cctest/test-assembler-x64.cc |
@@ -615,7 +615,8 @@ TEST(StackAlignmentForSSE2) { |
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)); |
+ global_template->Set(v8_str("do_sse2"), |
+ v8::FunctionTemplate::New(isolate, DoSSE2)); |
LocalContext env(NULL, global_template); |
CompileRun( |