Index: src/compiler/opcodes.h |
diff --git a/src/compiler/opcodes.h b/src/compiler/opcodes.h |
index 2e1a9191ed359d642325611e191a551a0a5be665..8f0bce34dd2e52b14d73db2ab2652f70a56de504 100644 |
--- a/src/compiler/opcodes.h |
+++ b/src/compiler/opcodes.h |
@@ -12,6 +12,8 @@ |
V(Branch) \ |
V(IfTrue) \ |
V(IfFalse) \ |
+ V(IfException) \ |
+ V(IfSuccess) \ |
V(Switch) \ |
V(Case) \ |
V(Merge) \ |
@@ -298,8 +300,12 @@ class IrOpcode { |
return kInt32Constant <= value && value <= kHeapConstant; |
} |
- static bool IsPhiOpcode(Value val) { |
- return val == kPhi || val == kEffectPhi; |
+ static bool IsPhiOpcode(Value value) { |
+ return value == kPhi || value == kEffectPhi; |
+ } |
+ |
+ static bool IsMergeOpcode(Value value) { |
+ return value == kMerge || value == kLoop; |
} |
}; |