| Index: src/compiler/bytecode-graph-builder.cc
|
| diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
|
| index 2c2ec998d72dacb93c13b79a3eb29d5fc5b0ab8b..9827b44f19ff4fc1c4b0835f7a569028c17bb198 100644
|
| --- a/src/compiler/bytecode-graph-builder.cc
|
| +++ b/src/compiler/bytecode-graph-builder.cc
|
| @@ -1140,6 +1140,13 @@ void BytecodeGraphBuilder::VisitDec() {
|
| }
|
|
|
| void BytecodeGraphBuilder::VisitLogicalNot() {
|
| + Node* value = environment()->LookupAccumulator();
|
| + Node* node = NewNode(common()->Select(MachineRepresentation::kTagged), value,
|
| + jsgraph()->FalseConstant(), jsgraph()->TrueConstant());
|
| + environment()->BindAccumulator(node);
|
| +}
|
| +
|
| +void BytecodeGraphBuilder::VisitToBooleanLogicalNot() {
|
| Node* value = NewNode(javascript()->ToBoolean(ToBooleanHint::kAny),
|
| environment()->LookupAccumulator());
|
| Node* node = NewNode(common()->Select(MachineRepresentation::kTagged), value,
|
|
|