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

Unified Diff: src/interpreter/bytecode-generator.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/bytecode-generator.h
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h
index 0447aa8f4522e161c3502e95710f5e02364ddeb2..38edee9297cb2871cfa2cb1397c50ad391b22861 100644
--- a/src/interpreter/bytecode-generator.h
+++ b/src/interpreter/bytecode-generator.h
@@ -15,6 +15,7 @@ namespace v8 {
namespace internal {
class CompilationInfo;
+enum class ShouldCompile;
namespace interpreter {
@@ -25,7 +26,8 @@ class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> {
explicit BytecodeGenerator(CompilationInfo* info);
void GenerateBytecode(uintptr_t stack_limit);
- Handle<BytecodeArray> FinalizeBytecode(Isolate* isolate);
+ Handle<BytecodeArray> FinalizeBytecode(Isolate* isolate,
+ ShouldCompile should_compile);
#define DECLARE_VISIT(type) void Visit##type(type* node);
AST_NODE_LIST(DECLARE_VISIT)
@@ -53,7 +55,7 @@ class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> {
enum class TestFallthrough { kThen, kElse, kNone };
void GenerateBytecodeBody();
- void AllocateDeferredConstants();
+ void AllocateDeferredConstants(ShouldCompile should_compile);
DEFINE_AST_VISITOR_SUBCLASS_MEMBERS();

Powered by Google App Engine
This is Rietveld 408576698