| Index: test/cctest/compiler/test-run-jscalls.cc
|
| diff --git a/test/cctest/compiler/test-run-jscalls.cc b/test/cctest/compiler/test-run-jscalls.cc
|
| index 63c12bfc0854a7d4c970218816d17b6f046f4801..621c1c339fff995aaa0e9cfe69bba71a801dcb06 100644
|
| --- a/test/cctest/compiler/test-run-jscalls.cc
|
| +++ b/test/cctest/compiler/test-run-jscalls.cc
|
| @@ -143,14 +143,11 @@ TEST(RuntimeCallCPP2) {
|
|
|
| TEST(RuntimeCallJS) {
|
| FLAG_allow_natives_syntax = true;
|
| - FunctionTester T("(function(a) { return %to_string_fun(a); })");
|
| -
|
| - T.CheckCall(T.Val("23"), T.Val(23), T.undefined());
|
| - T.CheckCall(T.Val("4.2"), T.Val(4.2), T.undefined());
|
| - T.CheckCall(T.Val("str"), T.Val("str"), T.undefined());
|
| - T.CheckCall(T.Val("true"), T.true_value(), T.undefined());
|
| - T.CheckCall(T.Val("false"), T.false_value(), T.undefined());
|
| - T.CheckCall(T.Val("undefined"), T.undefined(), T.undefined());
|
| + FunctionTester T("(function(a) { return %to_number_fun(a); })");
|
| +
|
| + T.CheckCall(T.Val(23), T.Val(23), T.undefined());
|
| + T.CheckCall(T.Val(4.2), T.Val(4.2), T.undefined());
|
| + T.CheckCall(T.Val(1), T.true_value(), T.undefined());
|
| }
|
|
|
|
|
|
|