| Index: test/cctest/compiler/test-run-inlining.cc
|
| diff --git a/test/cctest/compiler/test-run-inlining.cc b/test/cctest/compiler/test-run-inlining.cc
|
| index 5119bb73ee832cd1f0730869b8bfacba5343d2a9..1b2559fc5f492fd077fcb00ef49ed9b717da17a4 100644
|
| --- a/test/cctest/compiler/test-run-inlining.cc
|
| +++ b/test/cctest/compiler/test-run-inlining.cc
|
| @@ -415,6 +415,20 @@
|
| }
|
|
|
|
|
| +TEST(InlineIntrinsicIsNonNegativeSmi) {
|
| + FunctionTester T(
|
| + "(function () {"
|
| + " var x = 42;"
|
| + " function bar(s,t) { return %_IsNonNegativeSmi(x); };"
|
| + " return bar;"
|
| + "})();",
|
| + kInlineFlags);
|
| +
|
| + InstallAssertInlineCountHelper(CcTest::isolate());
|
| + T.CheckCall(T.true_value(), T.Val(12), T.Val(4));
|
| +}
|
| +
|
| +
|
| TEST(InlineIntrinsicIsArray) {
|
| FunctionTester T(
|
| "(function () {"
|
|
|