Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index 36cec4fa0b28b6bc36cdf82ee7bbf0fda6f49b03..19aea9f63446a9c3f3ae9d4b3f13679619b8a7ac 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -538,24 +538,6 @@ class RepresentationSelector { |
//------------------------------------------------------------------ |
// Simplified operators. |
//------------------------------------------------------------------ |
- case IrOpcode::kAnyToBoolean: { |
- VisitUnop(node, kMachAnyTagged, kTypeBool | kRepTagged); |
- if (lower()) { |
- // AnyToBoolean(x) => Call(ToBooleanStub, x, no-context) |
- Operator::Properties properties = node->op()->properties(); |
- Callable callable = CodeFactory::ToBoolean( |
- jsgraph_->isolate(), ToBooleanStub::RESULT_AS_ODDBALL); |
- CallDescriptor::Flags flags = CallDescriptor::kPatchableCallSite; |
- CallDescriptor* desc = Linkage::GetStubCallDescriptor( |
- jsgraph_->isolate(), jsgraph_->zone(), callable.descriptor(), 0, |
- flags, properties); |
- node->set_op(jsgraph_->common()->Call(desc)); |
- node->InsertInput(jsgraph_->zone(), 0, |
- jsgraph_->HeapConstant(callable.code())); |
- node->AppendInput(jsgraph_->zone(), jsgraph_->NoContextConstant()); |
- } |
- break; |
- } |
case IrOpcode::kBooleanNot: { |
if (lower()) { |
MachineTypeUnion input = GetInfo(node->InputAt(0))->output; |