Index: test/cctest/test-platform.cc |
diff --git a/test/cctest/test-platform.cc b/test/cctest/test-platform.cc |
index 36ad4870792fd68b6be2d7d19fe71e605184cf7b..0699d7a7cb6234754038535ac2ecb567c281c1c1 100644 |
--- a/test/cctest/test-platform.cc |
+++ b/test/cctest/test-platform.cc |
@@ -74,7 +74,7 @@ TEST(StackAlignment) { |
v8::HandleScope handle_scope(isolate); |
v8::Handle<v8::ObjectTemplate> global_template = v8::ObjectTemplate::New(); |
global_template->Set(v8_str("get_stack_pointer"), |
- v8::FunctionTemplate::New(GetStackPointer)); |
+ v8::FunctionTemplate::New(isolate, GetStackPointer)); |
LocalContext env(NULL, global_template); |
CompileRun( |