| Index: src/compiler.h
|
| diff --git a/src/compiler.h b/src/compiler.h
|
| index 03c6f8199fe105e0cec8480db71f79fd6cf4143a..395d21c9fbfe1cfb0c9d3789ede07c2acc7c6389 100644
|
| --- a/src/compiler.h
|
| +++ b/src/compiler.h
|
| @@ -72,6 +72,9 @@ class Compiler : public AllStatic {
|
| // Ensures that bytecode is generated, calls ParseAndAnalyze internally.
|
| static bool EnsureBytecode(CompilationInfo* info);
|
|
|
| + static Handle<SharedFunctionInfo> NewSharedFunctionInfoFromLiteral(
|
| + Isolate* isolate, FunctionLiteral* literal, Handle<Script> script);
|
| +
|
| // The next compilation tier which the function should be compiled to for
|
| // optimization. This is used as a hint by the runtime profiler.
|
| static CompilationTier NextCompilationTier(JSFunction* function);
|
|
|