Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index bfeaa8e7c336f739514de2d8db7b39d7ad2fdff2..9f674177157fd9a8ae5ee60cf30d10b0bbb64a69 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -73,6 +73,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); |