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

Unified Diff: src/interpreter/bytecodes.h

Issue 1634153002: [Interpreter] Adds support for const/let variables to interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased the patch Created 4 years, 11 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 aa5234924152f24a25383d980b2685749bd4d2db..2bcbef9cd26dd5ee5b505d0cd5e86db528c0cb73 100644
--- a/src/interpreter/bytecodes.h
+++ b/src/interpreter/bytecodes.h
@@ -235,6 +235,8 @@ namespace interpreter {
V(JumpIfUndefined, OperandType::kImm8) \
V(JumpIfUndefinedConstant, OperandType::kIdx8) \
V(JumpIfUndefinedConstantWide, OperandType::kIdx16) \
+ V(JumpIfHole, OperandType::kImm8) \
+ V(JumpIfNotHole, OperandType::kImm8) \
rmcilroy 2016/01/26 14:37:28 It seems dangerous to have these without Constant
mythria 2016/02/01 10:02:18 Done.
\
/* Complex flow control For..in */ \
V(ForInPrepare, OperandType::kRegTriple8) \
@@ -250,7 +252,6 @@ namespace interpreter {
V(ReThrow, OperandType::kNone) \
V(Return, OperandType::kNone)
-
// Enumeration of the size classes of operand types used by bytecodes.
enum class OperandSize : uint8_t {
kNone = 0,

Powered by Google App Engine
This is Rietveld 408576698