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

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: Rebase 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
« no previous file with comments | « src/interpreter/bytecode-generator.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/bytecodes.h
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h
index 167639656216d89e1aa082d7889861dbd9832d9b..76f090ef16ccabd6d86b897d8d2d04b54793d90e 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) \
@@ -109,6 +111,9 @@ namespace interpreter {
/* Cast operators */ \
V(ToBoolean, OperandType::kNone) \
\
+ /* Literals */ \
+ V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \
+ \
/* Closure allocation */ \
V(CreateClosure, OperandType::kImm8) \
\
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698