| Index: src/compiler/opcodes.h
|
| diff --git a/src/compiler/opcodes.h b/src/compiler/opcodes.h
|
| index 651c37b05b2dde28f5ddfbfead98d8c3d39e02fd..fd886b298eb98b344d874ae30339fc144facdb5d 100644
|
| --- a/src/compiler/opcodes.h
|
| +++ b/src/compiler/opcodes.h
|
| @@ -294,6 +294,10 @@ class IrOpcode {
|
| static bool IsConstantOpcode(Value value) {
|
| return kInt32Constant <= value && value <= kHeapConstant;
|
| }
|
| +
|
| + static bool IsPhiOpcode(Value val) {
|
| + return val == kPhi || val == kEffectPhi;
|
| + }
|
| };
|
|
|
| } // namespace compiler
|
|
|