Index: test/cctest/test-compiler.cc |
=================================================================== |
--- test/cctest/test-compiler.cc (revision 4210) |
+++ test/cctest/test-compiler.cc (working copy) |
@@ -114,7 +114,7 @@ |
static Handle<JSFunction> Compile(const char* source) { |
Handle<String> source_code(Factory::NewStringFromUtf8(CStrVector(source))); |
- Handle<JSFunction> boilerplate = |
+ Handle<SharedFunctionInfo> shared_function = |
Compiler::Compile(source_code, |
Handle<String>(), |
0, |
@@ -123,8 +123,8 @@ |
NULL, |
Handle<String>::null(), |
NOT_NATIVES_CODE); |
- return Factory::NewFunctionFromBoilerplate(boilerplate, |
- Top::global_context()); |
+ return Factory::NewFunctionFromSharedFunctionInfo(shared_function, |
+ Top::global_context()); |
} |