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

Unified Diff: src/interpreter/bytecodes.h

Issue 1666943003: [interpreter] Support for ES6 class literals. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 22ceb138e31898c7fb5c10824658d5eed0ce14a2..6a0de66ecf1fdde1386806647fdaaf047ff6fd77 100644
--- a/src/interpreter/bytecodes.h
+++ b/src/interpreter/bytecodes.h
@@ -142,6 +142,9 @@ namespace interpreter {
V(KeyedStoreICStrictWide, OperandType::kReg8, OperandType::kReg8, \
OperandType::kIdx16) \
\
+ /* Class information */ \
+ V(LdaInitialMap, OperandType::kNone) \
+ \
/* Binary Operators */ \
V(Add, OperandType::kReg8) \
V(Sub, OperandType::kReg8) \
@@ -305,7 +308,6 @@ class Register {
explicit Register(int index = kInvalidIndex) : index_(index) {}
int index() const {
- DCHECK(index_ != kInvalidIndex);
Michael Starzinger 2016/02/04 13:40:20 nit: Please run "git cl format".
oth 2016/02/04 14:00:59 Manually fixed. Current git cl format is not updat
return index_;
}
bool is_parameter() const { return index() < 0; }

Powered by Google App Engine
This is Rietveld 408576698