Index: test/unittests/compiler/js-builtin-reducer-unittest.cc |
diff --git a/test/unittests/compiler/js-builtin-reducer-unittest.cc b/test/unittests/compiler/js-builtin-reducer-unittest.cc |
index 88bb9d12dec59934428dda50333cc81460c00736..ee9f960057cac01127b3a8500f4a40ab142759cf 100644 |
--- a/test/unittests/compiler/js-builtin-reducer-unittest.cc |
+++ b/test/unittests/compiler/js-builtin-reducer-unittest.cc |
@@ -223,43 +223,6 @@ TEST_F(JSBuiltinReducerTest, MathFround) { |
} |
} |
- |
-// ----------------------------------------------------------------------------- |
-// Math.floor |
- |
- |
-TEST_F(JSBuiltinReducerTest, MathFloorAvailable) { |
- Handle<JSFunction> f = MathFunction("floor"); |
- |
- TRACED_FOREACH(Type*, t0, kNumberTypes) { |
- Node* p0 = Parameter(t0, 0); |
- Node* fun = HeapConstant(Unique<HeapObject>::CreateUninitialized(f)); |
- Node* call = |
- graph()->NewNode(javascript()->CallFunction(3, NO_CALL_FUNCTION_FLAGS), |
- fun, UndefinedConstant(), p0); |
- Reduction r = Reduce(call, MachineOperatorBuilder::Flag::kFloat64RoundDown); |
- |
- ASSERT_TRUE(r.Changed()); |
- EXPECT_THAT(r.replacement(), IsFloat64RoundDown(p0)); |
- } |
-} |
- |
- |
-TEST_F(JSBuiltinReducerTest, MathFloorUnavailable) { |
- Handle<JSFunction> f = MathFunction("floor"); |
- |
- TRACED_FOREACH(Type*, t0, kNumberTypes) { |
- Node* p0 = Parameter(t0, 0); |
- Node* fun = HeapConstant(Unique<HeapObject>::CreateUninitialized(f)); |
- Node* call = |
- graph()->NewNode(javascript()->CallFunction(3, NO_CALL_FUNCTION_FLAGS), |
- fun, UndefinedConstant(), p0); |
- Reduction r = Reduce(call, MachineOperatorBuilder::Flag::kNoFlags); |
- |
- ASSERT_FALSE(r.Changed()); |
- } |
-} |
- |
} // namespace compiler |
} // namespace internal |
} // namespace v8 |