Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Unified Diff: src/interpreter/interpreter.h

Issue 2579973002: Don't compile inner functions when compiling via the dispatcher (Closed)
Patch Set: added comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/interpreter/interpreter.h
diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h
index 04f7e85b39350d36431523eee791db47dd920ef1..d63839394b5c87b10a339aa8ab3bd53391112be6 100644
--- a/src/interpreter/interpreter.h
+++ b/src/interpreter/interpreter.h
@@ -23,6 +23,7 @@ class Isolate;
class Callable;
class CompilationInfo;
class CompilationJob;
+enum class LazyCompilationMode;
namespace compiler {
class Node;
@@ -44,7 +45,8 @@ class Interpreter {
static int InterruptBudget();
// Creates a compilation job which will generate bytecode for |info|.
- static CompilationJob* NewCompilationJob(CompilationInfo* info);
+ static CompilationJob* NewCompilationJob(CompilationInfo* info,
+ LazyCompilationMode mode);
// Return bytecode handler for |bytecode|.
Code* GetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale);

Powered by Google App Engine
This is Rietveld 408576698