Chromium Code Reviews| 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 919c1b2237a1820d260d0d76fb11147fe321282e..07752898ced66767ccda4fadcd4d5dd8e2f585e9 100644 |
| --- a/test/unittests/compiler/js-intrinsic-lowering-unittest.cc |
| +++ b/test/unittests/compiler/js-intrinsic-lowering-unittest.cc |
| @@ -275,8 +275,20 @@ TEST_F(JSIntrinsicLoweringTest, InlineMathSqrt) { |
| // ----------------------------------------------------------------------------- |
| -// %_MathClz32 |
| +// %_GetOrdinaryHasInstance |
|
Michael Starzinger
2016/03/17 12:43:53
nit: Let's not squeeze this in between the test fo
mvstanton
2016/03/17 13:23:03
Done.
|
| + |
| +TEST_F(JSIntrinsicLoweringTest, InlineGetOrdinaryHasInstance) { |
| + Node* const context = Parameter(0); |
| + Node* const effect = graph()->start(); |
| + Node* const control = graph()->start(); |
| + Reduction const r = Reduce(graph()->NewNode( |
| + javascript()->CallRuntime(Runtime::kInlineGetOrdinaryHasInstance, 0), |
| + context, effect, control)); |
| + ASSERT_TRUE(r.Changed()); |
|
Michael Starzinger
2016/03/17 12:43:53
nit: Let's also check that ...
EXPECT_THAT(r.repl
mvstanton
2016/03/17 13:23:03
Done.
|
| +} |
| +// ----------------------------------------------------------------------------- |
| +// %_MathClz32 |
| TEST_F(JSIntrinsicLoweringTest, InlineMathClz32) { |
| Node* const input = Parameter(0); |