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

Unified Diff: src/interpreter/bytecodes.h

Issue 1400753003: [Interpreter] Add array literal support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_literal
Patch Set: Created 5 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/bytecodes.h
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h
index eb0a7b03f9855575150822b82a51763fb8b100a9..7830397a73f93af734225c7ef3caa9182b957ced 100644
--- a/src/interpreter/bytecodes.h
+++ b/src/interpreter/bytecodes.h
@@ -67,6 +67,8 @@ namespace interpreter {
OperandType::kIdx8) \
V(KeyedStoreICStrict, OperandType::kReg8, OperandType::kReg8, \
OperandType::kIdx8) \
+ /* TODO(rmcilroy): Remove once literal stores have type feedback slots. */ \
+ V(KeyedStoreICGeneric, OperandType::kReg8, OperandType::kReg8) \
\
/* Context operations */ \
V(PushContext, OperandType::kReg8) \
@@ -103,6 +105,9 @@ namespace interpreter {
/* Cast operators */ \
V(ToBoolean, OperandType::kNone) \
\
+ /* Literals */ \
+ V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \
+ \
/* Control Flow */ \
V(Jump, OperandType::kImm8) \
V(JumpConstant, OperandType::kIdx8) \

Powered by Google App Engine
This is Rietveld 408576698