Index: test/cctest/compiler/test-simplified-lowering.cc |
diff --git a/test/cctest/compiler/test-simplified-lowering.cc b/test/cctest/compiler/test-simplified-lowering.cc |
index 147aa323ffaf887351b87b46c5015a98d261d343..c4f497ccca4b1c5d53a4baaea2144deadd99f029 100644 |
--- a/test/cctest/compiler/test-simplified-lowering.cc |
+++ b/test/cctest/compiler/test-simplified-lowering.cc |
@@ -787,31 +787,6 @@ class TestingGraph : public HandleAndZoneScope, public GraphAndBuilders { |
}; |
-TEST(LowerAnyToBoolean_bit_bit) { |
- // AnyToBoolean(x: kRepBit) used as kRepBit |
- HandleAndZoneScope scope; |
- Factory* f = scope.main_zone()->isolate()->factory(); |
- Handle<Object> zero = f->NewNumber(0); |
- Handle<Object> one = f->NewNumber(1); |
- Type* singleton_zero = Type::Constant(zero, scope.main_zone()); |
- Type* singleton_one = Type::Constant(one, scope.main_zone()); |
- Type* zero_one_range = Type::Range(zero, one, scope.main_zone()); |
- static Type* kTypes[] = { |
- singleton_zero, singleton_one, zero_one_range, Type::Boolean(), |
- Type::Union(Type::Boolean(), singleton_zero, scope.main_zone()), |
- Type::Union(Type::Boolean(), singleton_one, scope.main_zone()), |
- Type::Union(Type::Boolean(), zero_one_range, scope.main_zone())}; |
- for (Type* type : kTypes) { |
- TestingGraph t(type); |
- Node* x = t.ExampleWithTypeAndRep(type, kRepBit); |
- Node* cnv = t.graph()->NewNode(t.simplified()->AnyToBoolean(), x); |
- Node* use = t.Branch(cnv); |
- t.Lower(); |
- CHECK_EQ(x, use->InputAt(0)); |
- } |
-} |
- |
- |
#if V8_TURBOFAN_TARGET |
TEST(LowerAnyToBoolean_tagged_tagged) { |