| Index: src/interpreter/bytecodes.h
|
| diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h
|
| index 3d61786fb09e16d67b0beaa6286193469eac1663..2d4890314111ae6a658257711e6a5035b49b48cc 100644
|
| --- a/src/interpreter/bytecodes.h
|
| +++ b/src/interpreter/bytecodes.h
|
| @@ -187,6 +187,8 @@ namespace interpreter {
|
| \
|
| /* TestEqual with Null or Undefined */ \
|
| V(TestUndetectable, AccumulatorUse::kWrite, OperandType::kReg) \
|
| + V(TestNull, AccumulatorUse::kWrite, OperandType::kReg) \
|
| + V(TestUndefined, AccumulatorUse::kWrite, OperandType::kReg) \
|
| \
|
| /* Cast operators */ \
|
| V(ToName, AccumulatorUse::kRead, OperandType::kRegOut) \
|
| @@ -484,6 +486,8 @@ class V8_EXPORT_PRIVATE Bytecodes final {
|
| case Bytecode::kTestIn:
|
| case Bytecode::kTestUndetectable:
|
| case Bytecode::kForInContinue:
|
| + case Bytecode::kTestUndefined:
|
| + case Bytecode::kTestNull:
|
| return true;
|
| default:
|
| return false;
|
|
|