| Index: src/interpreter/bytecodes.cc
|
| diff --git a/src/interpreter/bytecodes.cc b/src/interpreter/bytecodes.cc
|
| index 53c4128fdd613c40438b98a1065e4fa421f93779..8b99f4fb1ce97bc46763a45d71e85117ae015a86 100644
|
| --- a/src/interpreter/bytecodes.cc
|
| +++ b/src/interpreter/bytecodes.cc
|
| @@ -163,7 +163,9 @@ bool Bytecodes::IsJump(Bytecode bytecode) {
|
| return bytecode == Bytecode::kJump || bytecode == Bytecode::kJumpIfTrue ||
|
| bytecode == Bytecode::kJumpIfFalse ||
|
| bytecode == Bytecode::kJumpIfToBooleanTrue ||
|
| - bytecode == Bytecode::kJumpIfToBooleanFalse;
|
| + bytecode == Bytecode::kJumpIfToBooleanFalse ||
|
| + bytecode == Bytecode::kJumpIfNull ||
|
| + bytecode == Bytecode::kJumpIfUndefined;
|
| }
|
|
|
|
|
| @@ -173,7 +175,9 @@ bool Bytecodes::IsJumpConstant(Bytecode bytecode) {
|
| bytecode == Bytecode::kJumpIfTrueConstant ||
|
| bytecode == Bytecode::kJumpIfFalseConstant ||
|
| bytecode == Bytecode::kJumpIfToBooleanTrueConstant ||
|
| - bytecode == Bytecode::kJumpIfToBooleanFalseConstant;
|
| + bytecode == Bytecode::kJumpIfToBooleanFalseConstant ||
|
| + bytecode == Bytecode::kJumpIfNull ||
|
| + bytecode == Bytecode::kJumpIfUndefinedConstant;
|
| }
|
|
|
|
|
|
|