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

Unified Diff: src/compiler/linkage.h

Issue 1239793002: [interpreter] Add basic framework for bytecode handler code generation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review comments Created 5 years, 5 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/compiler/linkage.h
diff --git a/src/compiler/linkage.h b/src/compiler/linkage.h
index 45d15c9eead52a5cdc709f20b4c19fc4261accbf..ef811530f93efe6fb6e0fc86ed9bb9a5cd7b0719 100644
--- a/src/compiler/linkage.h
+++ b/src/compiler/linkage.h
@@ -241,8 +241,7 @@ class Linkage : public ZoneObject {
// Creates a call descriptor for interpreter handler code stubs. These are not
// intended to be called directly but are instead dispatched to by the
// interpreter.
- static CallDescriptor* GetInterpreterDispatchDescriptor(
- Zone* zone, const MachineSignature* sig);
+ static CallDescriptor* GetInterpreterDispatchDescriptor(Zone* zone);
// Get the location of an (incoming) parameter to this function.
LinkageLocation GetParameterLocation(int index) const {
@@ -280,6 +279,11 @@ class Linkage : public ZoneObject {
// A special {OsrValue} index to indicate the context spill slot.
static const int kOsrContextSpillSlotIndex = -1;
+ // Special parameters used to pass fixed register data through interpreter
Michael Starzinger 2015/07/21 13:51:45 nit: s/parameters/parameter indices/
rmcilroy 2015/07/23 10:43:54 Done.
+ // dispatches.
+ static const int kInterpreterBytecodeParameter = 0;
+ static const int kInterpreterDispatchTableParameter = 1;
+
private:
CallDescriptor* const incoming_;

Powered by Google App Engine
This is Rietveld 408576698