Index: src/interpreter/bytecodes.h |
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h |
index f34350044bb8697878f6a10168377c2bafea0e91..001de2a795da0557a020a6bb6d37343eabab0178 100644 |
--- a/src/interpreter/bytecodes.h |
+++ b/src/interpreter/bytecodes.h |
@@ -463,6 +463,9 @@ class Bytecodes { |
// Returns true if the bytecode is a conditional jump, a jump, or a return. |
static bool IsJumpOrReturn(Bytecode bytecode); |
+ // Returns true if the bytecode is a call or a constructor call. |
+ static bool IsCallOrNew(Bytecode bytecode); |
+ |
// Returns true if |operand_type| is a register index operand (kIdx8/kIdx16). |
static bool IsIndexOperandType(OperandType operand_type); |