Index: src/interpreter/bytecodes.cc |
diff --git a/src/interpreter/bytecodes.cc b/src/interpreter/bytecodes.cc |
index 7102e664d56d5a961d16e7ff7f13493dc9afa582..2ba56f7ccfbf6f7a6ebdaf5ab17395f8536df848 100644 |
--- a/src/interpreter/bytecodes.cc |
+++ b/src/interpreter/bytecodes.cc |
@@ -161,7 +161,9 @@ OperandSize Bytecodes::SizeOfOperand(OperandType operand_type) { |
// static |
bool Bytecodes::IsJump(Bytecode bytecode) { |
return bytecode == Bytecode::kJump || bytecode == Bytecode::kJumpIfTrue || |
- bytecode == Bytecode::kJumpIfFalse; |
+ bytecode == Bytecode::kJumpIfFalse || |
+ bytecode == Bytecode::kJumpIfToBooleanTrue || |
+ bytecode == Bytecode::kJumpIfToBooleanFalse; |
} |
@@ -169,7 +171,9 @@ bool Bytecodes::IsJump(Bytecode bytecode) { |
bool Bytecodes::IsJumpConstant(Bytecode bytecode) { |
return bytecode == Bytecode::kJumpConstant || |
bytecode == Bytecode::kJumpIfTrueConstant || |
- bytecode == Bytecode::kJumpIfFalseConstant; |
+ bytecode == Bytecode::kJumpIfFalseConstant || |
+ bytecode == Bytecode::kJumpIfToBooleanTrueConstant || |
+ bytecode == Bytecode::kJumpIfToBooleanFalseConstant; |
} |