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

Unified Diff: src/interpreter/bytecodes.h

Issue 1323463005: [Interpreter] Add support for JS calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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/bytecodes.h
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h
index 01552a35ec00123ade99950d60fb11774cea225b..0c9424c305e7327dd045374d43ba417c41e64b28 100644
--- a/src/interpreter/bytecodes.h
+++ b/src/interpreter/bytecodes.h
@@ -18,6 +18,7 @@ namespace interpreter {
// The list of operand types used by bytecodes.
#define OPERAND_TYPE_LIST(V) \
V(None) \
+ V(Count) \
V(Imm8) \
V(Idx) \
V(Reg)
@@ -50,6 +51,9 @@ namespace interpreter {
V(Div, OperandType::kReg) \
V(Mod, OperandType::kReg) \
\
+ /* Call operations. */ \
+ V(CallJS, OperandType::kReg, OperandType::kCount) \
+ \
/* Control Flow */ \
V(Return, OperandType::kNone)

Powered by Google App Engine
This is Rietveld 408576698