| Index: src/compiler.h
|
| diff --git a/src/compiler.h b/src/compiler.h
|
| index 4c008d2e23891cc30b16d43801bbdfc40147220f..239849b2ef1701301a3117992e022cebd01e4b07 100644
|
| --- a/src/compiler.h
|
| +++ b/src/compiler.h
|
| @@ -23,8 +23,6 @@ class JavaScriptFrame;
|
| class ParseInfo;
|
| class ScriptData;
|
|
|
| -enum class LazyCompilationMode { kAlways, kIfRequested };
|
| -
|
| // The V8 compiler API.
|
| //
|
| // This is the central hub for dispatching to the various compilers within V8.
|
| @@ -53,11 +51,9 @@ class Compiler : public AllStatic {
|
| static bool CompileDebugCode(Handle<SharedFunctionInfo> shared);
|
| static MaybeHandle<JSArray> CompileForLiveEdit(Handle<Script> script);
|
|
|
| - // Prepare a compilation job for unoptimized code. If |mode| is
|
| - // LazyCompilationMode::kAlways, the returned job will not compile any inner
|
| - // functions. Requires ParseAndAnalyse.
|
| + // Prepare a compilation job for unoptimized code. Requires ParseAndAnalyse.
|
| static CompilationJob* PrepareUnoptimizedCompilationJob(
|
| - CompilationInfo* info, LazyCompilationMode mode);
|
| + CompilationInfo* info);
|
|
|
| // Generate and install code from previously queued compilation job.
|
| static bool FinalizeCompilationJob(CompilationJob* job);
|
| @@ -119,8 +115,7 @@ class Compiler : public AllStatic {
|
|
|
| // Create a shared function info object (the code may be lazily compiled).
|
| static Handle<SharedFunctionInfo> GetSharedFunctionInfo(
|
| - FunctionLiteral* node, Handle<Script> script, CompilationInfo* outer,
|
| - LazyCompilationMode mode = LazyCompilationMode::kIfRequested);
|
| + FunctionLiteral* node, Handle<Script> script, CompilationInfo* outer);
|
|
|
| // Create a shared function info object for a native function literal.
|
| static Handle<SharedFunctionInfo> GetSharedFunctionInfoForNative(
|
|
|