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

Unified Diff: src/interpreter/interpreter.h

Issue 2399463008: Create multiple compilation jobs for ignition if compiling multiple literals (Closed)
Patch Set: updates Created 4 years, 2 months 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 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);

Powered by Google App Engine
This is Rietveld 408576698