| 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 6edf563c9ba8d8c37fab0caac7132dea3369e745..1395f468f6cf84fe152e813cc208c0cb306ce3d4 100644
|
| --- a/test/unittests/compiler/js-intrinsic-lowering-unittest.cc
|
| +++ b/test/unittests/compiler/js-intrinsic-lowering-unittest.cc
|
| @@ -223,38 +223,6 @@ TEST_F(JSIntrinsicLoweringTest, InlineIsTypedArray) {
|
|
|
|
|
| // -----------------------------------------------------------------------------
|
| -// %_IsFunction
|
| -
|
| -
|
| -TEST_F(JSIntrinsicLoweringTest, InlineIsFunction) {
|
| - Node* const input = Parameter(Type::Any());
|
| - Node* const context = Parameter(Type::Any());
|
| - Node* const effect = graph()->start();
|
| - Node* const control = graph()->start();
|
| - Reduction const r = Reduce(
|
| - graph()->NewNode(javascript()->CallRuntime(Runtime::kInlineIsFunction, 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(),
|
| - IsUint32LessThanOrEqual(
|
| - IsInt32Constant(FIRST_FUNCTION_TYPE),
|
| - IsLoadField(AccessBuilder::ForMapInstanceType(),
|
| - IsLoadField(AccessBuilder::ForMap(), input, effect,
|
| - CaptureEq(&if_false)),
|
| - effect, _)),
|
| - IsMerge(IsIfTrue(AllOf(CaptureEq(&branch),
|
| - IsBranch(IsObjectIsSmi(input), control))),
|
| - AllOf(CaptureEq(&if_false), IsIfFalse(CaptureEq(&branch))))));
|
| -}
|
| -
|
| -
|
| -// -----------------------------------------------------------------------------
|
| // %_IsRegExp
|
|
|
|
|
|
|