| Index: test/unittests/compiler/js-intrinsic-lowering-unittest.cc
|
| diff --git a/test/unittests/compiler/js-intrinsic-lowering-unittest.cc b/test/unittests/compiler/js-intrinsic-lowering-unittest.cc
|
| index 3e0554daf6d0ec3c61f6981c6d61614c0df05265..919c1b2237a1820d260d0d76fb11147fe321282e 100644
|
| --- a/test/unittests/compiler/js-intrinsic-lowering-unittest.cc
|
| +++ b/test/unittests/compiler/js-intrinsic-lowering-unittest.cc
|
| @@ -161,37 +161,6 @@ TEST_F(JSIntrinsicLoweringTest, InlineIsArray) {
|
|
|
|
|
| // -----------------------------------------------------------------------------
|
| -// %_IsDate
|
| -
|
| -
|
| -TEST_F(JSIntrinsicLoweringTest, InlineIsDate) {
|
| - Node* const input = Parameter(0);
|
| - Node* const context = Parameter(1);
|
| - Node* const effect = graph()->start();
|
| - Node* const control = graph()->start();
|
| - Reduction const r = Reduce(
|
| - graph()->NewNode(javascript()->CallRuntime(Runtime::kInlineIsDate, 1),
|
| - input, context, effect, control));
|
| - ASSERT_TRUE(r.Changed());
|
| -
|
| - Node* phi = r.replacement();
|
| - Capture<Node*> branch, if_false;
|
| - EXPECT_THAT(
|
| - phi,
|
| - IsPhi(
|
| - MachineRepresentation::kTagged, IsFalseConstant(),
|
| - IsWord32Equal(IsLoadField(AccessBuilder::ForMapInstanceType(),
|
| - IsLoadField(AccessBuilder::ForMap(), input,
|
| - effect, CaptureEq(&if_false)),
|
| - effect, _),
|
| - IsInt32Constant(JS_DATE_TYPE)),
|
| - IsMerge(IsIfTrue(AllOf(CaptureEq(&branch),
|
| - IsBranch(IsObjectIsSmi(input), control))),
|
| - AllOf(CaptureEq(&if_false), IsIfFalse(CaptureEq(&branch))))));
|
| -}
|
| -
|
| -
|
| -// -----------------------------------------------------------------------------
|
| // %_IsTypedArray
|
|
|
|
|
|
|