Index: src/interpreter/interpreter.h |
diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h |
index 85e99dc3a0a498642dc3467111060629ddb26b8f..384c69bc69d01b0aa1bd53e1bf95c4496b1f6581 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 ShouldCompile; |
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, |
+ ShouldCompile should_compile); |
// Return bytecode handler for |bytecode|. |
Code* GetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale); |