Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index f277d7ce187e0a5ba975b351e7190c731fea79ca..3061b2215b26eac23c341ff0934b693c3d53bcc0 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -761,6 +761,8 @@ Bytecode BytecodeArrayBuilder::GetJumpWithConstantOperand( |
return Bytecode::kJumpIfToBooleanTrueConstant; |
case Bytecode::kJumpIfToBooleanFalse: |
return Bytecode::kJumpIfToBooleanFalseConstant; |
+ case Bytecode::kJumpIfNotHole: |
+ return Bytecode::kJumpIfNotHoleConstant; |
case Bytecode::kJumpIfNull: |
return Bytecode::kJumpIfNullConstant; |
case Bytecode::kJumpIfUndefined: |
@@ -786,6 +788,8 @@ Bytecode BytecodeArrayBuilder::GetJumpWithConstantWideOperand( |
return Bytecode::kJumpIfToBooleanTrueConstantWide; |
case Bytecode::kJumpIfToBooleanFalse: |
return Bytecode::kJumpIfToBooleanFalseConstantWide; |
+ case Bytecode::kJumpIfNotHole: |
+ return Bytecode::kJumpIfNotHoleConstantWide; |
case Bytecode::kJumpIfNull: |
return Bytecode::kJumpIfNullConstantWide; |
case Bytecode::kJumpIfUndefined: |
@@ -803,7 +807,6 @@ Bytecode BytecodeArrayBuilder::GetJumpWithToBoolean(Bytecode jump_bytecode) { |
case Bytecode::kJump: |
case Bytecode::kJumpIfNull: |
case Bytecode::kJumpIfUndefined: |
- case Bytecode::kJumpIfHole: |
case Bytecode::kJumpIfNotHole: |
return jump_bytecode; |
case Bytecode::kJumpIfTrue: |
@@ -970,10 +973,6 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::StackCheck() { |
return *this; |
} |
-BytecodeArrayBuilder& BytecodeArrayBuilder::JumpIfHole(BytecodeLabel* label) { |
- return OutputJump(Bytecode::kJumpIfHole, label); |
-} |
- |
BytecodeArrayBuilder& BytecodeArrayBuilder::JumpIfNotHole( |
BytecodeLabel* label) { |
return OutputJump(Bytecode::kJumpIfNotHole, label); |