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

Unified Diff: src/interpreter/bytecode-generator.h

Issue 2240463002: [Interpreter] Introduce InterpreterCompilationJob (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@offheap_peekhole
Patch Set: DISALLOW_COPY_AND_ASSIGN Created 4 years, 4 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 1a4a6a105cd5a9275351089131495856252cdd9d..6c737613707011bb79d8fa363e636909f32ccddc 100644
--- a/src/interpreter/bytecode-generator.h
+++ b/src/interpreter/bytecode-generator.h
@@ -24,7 +24,8 @@ class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> {
public:
explicit BytecodeGenerator(CompilationInfo* info);
- Handle<BytecodeArray> MakeBytecode();
+ void GenerateBytecode();
+ Handle<BytecodeArray> FinalizeBytecode();
#define DECLARE_VISIT(type) void Visit##type(type* node);
AST_NODE_LIST(DECLARE_VISIT)
@@ -49,9 +50,8 @@ class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> {
class RegisterResultScope;
class RegisterAllocationScope;
- void GenerateBytecode();
void GenerateBytecodeBody();
- void FinalizeBytecode();
+ void AllocateDeferredConstants();
DEFINE_AST_VISITOR_SUBCLASS_MEMBERS();

Powered by Google App Engine
This is Rietveld 408576698