Index: src/compiler/opcodes.h |
diff --git a/src/compiler/opcodes.h b/src/compiler/opcodes.h |
index fc67e740f6cd149279994de3cdba44873d586a9d..1c2a23c00cb47ccb5cf18243ed22f5aed5e399f1 100644 |
--- a/src/compiler/opcodes.h |
+++ b/src/compiler/opcodes.h |
@@ -10,7 +10,6 @@ |
// Opcodes for control operators. |
#define CONTROL_OP_LIST(V) \ |
V(Start) \ |
- V(Dead) \ |
V(Loop) \ |
V(Branch) \ |
V(Switch) \ |
@@ -27,6 +26,7 @@ |
V(Terminate) \ |
V(OsrNormalEntry) \ |
V(OsrLoopEntry) \ |
+ V(DeadControl) \ |
V(Throw) \ |
V(End) |
@@ -57,7 +57,10 @@ |
#define COMMON_OP_LIST(V) \ |
CONSTANT_OP_LIST(V) \ |
- INNER_OP_LIST(V) |
+ INNER_OP_LIST(V) \ |
+ V(DeadEffect) \ |
+ V(DeadValue) |
+ |
// Opcodes for JavaScript operators. |
#define JS_COMPARE_BINOP_LIST(V) \ |
@@ -318,7 +321,7 @@ class IrOpcode { |
// Returns true if opcode for common operator. |
static bool IsCommonOpcode(Value value) { |
- return kStart <= value && value <= kProjection; |
+ return kStart <= value && value <= kDeadValue; |
} |
// Returns true if opcode for control operator. |