Index: src/compiler/bytecode-graph-builder.cc |
diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc |
index 7ae16258e3be0e5fff4b2cd26e6da161fa1441f9..94f6e8ddb16088900bda254a5771d537eea05e3c 100644 |
--- a/src/compiler/bytecode-graph-builder.cc |
+++ b/src/compiler/bytecode-graph-builder.cc |
@@ -959,8 +959,8 @@ void BytecodeGraphBuilder::VisitDec( |
void BytecodeGraphBuilder::VisitLogicalNot( |
const interpreter::BytecodeArrayIterator& iterator) { |
- Node* value = |
- NewNode(javascript()->ToBoolean(), environment()->LookupAccumulator()); |
+ Node* value = NewNode(javascript()->ToBoolean(ToBooleanHint::kAny), |
+ environment()->LookupAccumulator()); |
Node* node = NewNode(common()->Select(kMachAnyTagged), value, |
jsgraph()->FalseConstant(), jsgraph()->TrueConstant()); |
environment()->BindAccumulator(node); |
@@ -1082,7 +1082,7 @@ void BytecodeGraphBuilder::BuildCastOperator( |
void BytecodeGraphBuilder::VisitToBoolean( |
const interpreter::BytecodeArrayIterator& iterator) { |
- BuildCastOperator(javascript()->ToBoolean(), iterator); |
+ BuildCastOperator(javascript()->ToBoolean(ToBooleanHint::kAny), iterator); |
} |