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

Unified Diff: src/interpreter/interpreter.h

Issue 2760233005: [snapshot] Move builtins generation into mksnapshot (Closed)
Patch Set: fix GYP builds Created 3 years, 8 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
« no previous file with comments | « src/builtins/setup-builtins-internal.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/interpreter.h
diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h
index 04c9a8b68487ff52458acf655204dc02f4f182f6..4dc6241c245f3e710e874c9e094b2f93cb12b207 100644
--- a/src/interpreter/interpreter.h
+++ b/src/interpreter/interpreter.h
@@ -23,6 +23,7 @@ class Isolate;
class Callable;
class CompilationInfo;
class CompilationJob;
+class SetupIsolateDelegate;
namespace interpreter {
@@ -33,9 +34,6 @@ class Interpreter {
explicit Interpreter(Isolate* isolate);
virtual ~Interpreter() {}
- // Initializes the interpreter dispatch table.
- void Initialize();
-
// Returns the interrupt budget which should be used for the profiler counter.
static int InterruptBudget();
@@ -65,14 +63,8 @@ class Interpreter {
static const int kCodeSizeMultiplier = 24;
private:
- // In the case of bytecodes that share handler implementations, copy the code
- // into the bytecode's dispatcher table entry and return true.
- bool ReuseExistingHandler(Bytecode bytecode, OperandScale operand_scale);
-
- // Generates handler for given |bytecode| and |operand_scale|
- // and installs it into the dispatch table.
- void InstallBytecodeHandler(Isolate* isolate, Bytecode bytecode,
- OperandScale operand_scale);
+ friend class SetupInterpreter;
+ friend class v8::internal::SetupIsolateDelegate;
uintptr_t GetDispatchCounter(Bytecode from, Bytecode to) const;
@@ -81,7 +73,6 @@ class Interpreter {
OperandScale operand_scale);
bool IsDispatchTableInitialized();
- bool ShouldInitializeDispatchTable();
static const int kNumberOfWideVariants = 3;
static const int kDispatchTableSize = kNumberOfWideVariants * (kMaxUInt8 + 1);
« no previous file with comments | « src/builtins/setup-builtins-internal.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698