Lines Matching refs:FromInt
284 builder.LoadLiteral(Smi::FromInt(i)).Return(); in TEST()
290 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(i)); in TEST()
299 builder.LoadLiteral(Smi::FromInt(0x12345678)).Return(); in TEST()
305 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(0x12345678)); in TEST()
449 builder.LoadLiteral(Smi::FromInt(200)); in TEST()
452 builder.LoadLiteral(Smi::FromInt(100)); in TEST()
455 builder.LoadLiteral(Smi::FromInt(0)); in TEST()
549 builder.LoadLiteral(Smi::FromInt(lhs)) in TEST()
551 .LoadLiteral(Smi::FromInt(rhs)) in TEST()
584 builder.LoadLiteral(Smi::FromInt(lhs)) in TEST()
586 .LoadLiteral(Smi::FromInt(rhs)) in TEST()
710 return_val = callable(Handle<Smi>(Smi::FromInt(3), handles.main_isolate())) in TEST()
712 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(3)); in TEST()
737 Handle<Smi> arg1 = Handle<Smi>(Smi::FromInt(1), handles.main_isolate()); in TEST()
738 Handle<Smi> arg2 = Handle<Smi>(Smi::FromInt(2), handles.main_isolate()); in TEST()
739 Handle<Smi> arg3 = Handle<Smi>(Smi::FromInt(3), handles.main_isolate()); in TEST()
740 Handle<Smi> arg4 = Handle<Smi>(Smi::FromInt(4), handles.main_isolate()); in TEST()
741 Handle<Smi> arg5 = Handle<Smi>(Smi::FromInt(5), handles.main_isolate()); in TEST()
742 Handle<Smi> arg6 = Handle<Smi>(Smi::FromInt(6), handles.main_isolate()); in TEST()
743 Handle<Smi> arg7 = Handle<Smi>(Smi::FromInt(7), handles.main_isolate()); in TEST()
744 Handle<Smi> arg8 = Handle<Smi>(Smi::FromInt(8), handles.main_isolate()); in TEST()
749 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(36)); in TEST()
759 builder.LoadLiteral(Smi::FromInt(5)) in TEST()
769 callable(Handle<Smi>(Smi::FromInt(3), handles.main_isolate())) in TEST()
771 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(5)); in TEST()
788 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(321)); in TEST()
810 CHECK_EQ(Smi::cast(*global_obj), Smi::FromInt(999)); in TEST()
827 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(15)); in TEST()
844 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(123)); in TEST()
866 CHECK_EQ(Smi::cast(*global_obj), Smi::FromInt(999)); in TEST()
900 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(123)); in TEST()
904 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(123)); in TEST()
910 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(456)); in TEST()
922 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(789)); in TEST()
957 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(123)); in TEST()
961 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(123)); in TEST()
967 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(789)); in TEST()
990 builder.LoadLiteral(Smi::FromInt(999)) in TEST()
1003 CHECK_EQ(Smi::cast(*result), Smi::FromInt(999)); in TEST()
1008 CHECK_EQ(Smi::cast(*result), Smi::FromInt(999)); in TEST()
1015 CHECK_EQ(Smi::cast(*result), Smi::FromInt(999)); in TEST()
1028 CHECK_EQ(Smi::cast(*result), Smi::FromInt(999)); in TEST()
1053 .LoadLiteral(Smi::FromInt(999)) in TEST()
1066 CHECK_EQ(Smi::cast(*result), Smi::FromInt(999)); in TEST()
1071 CHECK_EQ(Smi::cast(*result), Smi::FromInt(999)); in TEST()
1078 CHECK_EQ(Smi::cast(*result), Smi::FromInt(999)); in TEST()
1116 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(0x265)); in TEST()
1140 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(1234)); in TEST()
1153 .LoadLiteral(Smi::FromInt(51)) in TEST()
1155 .LoadLiteral(Smi::FromInt(11)) in TEST()
1169 CHECK(return_val->SameValue(Smi::FromInt(40))); in TEST()
1228 .LoadLiteral(Smi::FromInt(value)) in SetRegister()
1238 .LoadLiteral(Smi::FromInt(value)) in IncrementRegister()
1254 builder.LoadLiteral(Smi::FromInt(0)) in TEST()
1284 builder.LoadLiteral(Smi::FromInt(0)) in TEST()
1320 builder.LoadLiteral(Smi::FromInt(0)) in TEST()
1405 builder.LoadLiteral(Smi::FromInt(inputs[i])) in TEST()
1407 .LoadLiteral(Smi::FromInt(inputs[j])) in TEST()
1738 builder.LoadLiteral(Smi::FromInt(15)) in TEST()
1740 .LoadLiteral(Smi::FromInt(40)) in TEST()
1750 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(55)); in TEST()
1766 Handle<Smi>(Smi::FromInt(3), handles.main_isolate())).ToHandleChecked(); in TEST()
1767 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(5)); in TEST()
1809 handle(Smi::FromInt(3), isolate)), in TEST()
1813 handle(Smi::FromInt(102), isolate)), in TEST()
1842 handle(Smi::FromInt(15), isolate)), in TEST()
1844 handle(Smi::FromInt(6), isolate)), in TEST()
1850 handle(Smi::FromInt(22), isolate)), in TEST()
1857 handle(Smi::FromInt(123), isolate)), in TEST()
1861 handle(Smi::FromInt(1), isolate)), in TEST()
1870 handle(Smi::FromInt(987), isolate)), in TEST()
1899 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(0)); in TEST()
1918 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(3)); in TEST()
1939 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(15)); in TEST()
1953 handle(Smi::FromInt(1), isolate)), in TEST()
1955 handle(Smi::FromInt(10), isolate)), in TEST()
1958 handle(Smi::FromInt(50), isolate)), in TEST()
1961 handle(Smi::FromInt(3), isolate)), in TEST()
1965 handle(Smi::FromInt(30), isolate)), in TEST()
1968 handle(Smi::FromInt(100), isolate)), in TEST()
1989 handle(Smi::FromInt(1), isolate)), in TEST()
1991 handle(Smi::FromInt(4), isolate)), in TEST()
1993 handle(Smi::FromInt(1), isolate)), in TEST()
2003 Handle<Object> a1 = handle(Smi::FromInt(1), isolate); in TEST()
2004 Handle<Object> a2 = handle(Smi::FromInt(2), isolate); in TEST()
2005 Handle<Object> a3 = handle(Smi::FromInt(3), isolate); in TEST()
2018 handle(Smi::FromInt(200), isolate)), in TEST()
2020 handle(Smi::FromInt(20), isolate)), in TEST()
2053 handle(Smi::FromInt(3), isolate)), in TEST()
2058 handle(Smi::FromInt(11), isolate)), in TEST()
2060 handle(Smi::FromInt(21), isolate))}; in TEST()
2081 handle(Smi::FromInt(10), isolate)), in TEST()
2110 handle(Smi::FromInt(0), isolate)), in TEST()
2112 handle(Smi::FromInt(10), isolate)), in TEST()
2113 std::make_pair("return 0.0 && 3.2;\n", handle(Smi::FromInt(0), isolate)), in TEST()
2119 handle(Smi::FromInt(1), isolate)), in TEST()
2144 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(2)); in TEST()
2158 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(4)); in TEST()
2172 handle(Smi::FromInt(1), isolate)), in TEST()
2203 handle(Smi::FromInt(2), isolate)), in TEST()
2205 handle(Smi::FromInt(1), isolate)), in TEST()
2207 handle(Smi::FromInt(4), isolate)), in TEST()
2209 handle(Smi::FromInt(5), isolate)), in TEST()
2217 handle(Smi::FromInt(2), isolate)), in TEST()
2219 handle(Smi::FromInt(0), isolate)), in TEST()
2221 handle(Smi::FromInt(12), isolate)), in TEST()
2223 handle(Smi::FromInt(11), isolate)), in TEST()
2225 handle(Smi::FromInt(12), isolate)), in TEST()
2227 handle(Smi::FromInt(21), isolate)), in TEST()
2229 handle(Smi::FromInt(22), isolate)), in TEST()
2231 handle(Smi::FromInt(3), isolate)), in TEST()
2233 handle(Smi::FromInt(2), isolate)), in TEST()
2235 handle(Smi::FromInt(-1), isolate)), in TEST()
2237 handle(Smi::FromInt(1), isolate)), in TEST()
2239 handle(Smi::FromInt(1), isolate)), in TEST()
2241 handle(Smi::FromInt(1), isolate)), in TEST()
2246 handle(Smi::FromInt(1), isolate)), in TEST()
2266 handle(Smi::FromInt(101), isolate)), in TEST()
2268 handle(Smi::FromInt(99), isolate)), in TEST()
2270 handle(Smi::FromInt(100), isolate)), in TEST()
2272 handle(Smi::FromInt(201), isolate)), in TEST()
2274 handle(Smi::FromInt(199), isolate)), in TEST()
2276 handle(Smi::FromInt(200), isolate)), in TEST()
2296 Handle<Object>(Smi::FromInt(3), isolate)), in TEST()
2298 Handle<Object>(Smi::FromInt(5), isolate)), in TEST()
2302 Handle<Object>(Smi::FromInt(4), isolate)), in TEST()
2305 Handle<Object>(Smi::FromInt(26), isolate)), in TEST()
2327 Handle<Object>(Smi::FromInt(120), isolate)), in TEST()
2330 Handle<Object>(Smi::FromInt(80), isolate)), in TEST()
2382 callable(handle(Smi::FromInt(40), isolate)).ToHandleChecked(); in TEST()
2384 CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(40)); in TEST()
2393 handle(Smi::FromInt(40), isolate), in TEST()
2394 handle(Smi::FromInt(60), isolate), in TEST()
2395 handle(Smi::FromInt(80), isolate), in TEST()
2414 handle(Smi::FromInt(2), isolate)), in TEST()
2416 handle(Smi::FromInt(3), isolate)), in TEST()
2418 handle(Smi::FromInt(20), isolate)), in TEST()
2420 handle(Smi::FromInt(20), isolate)), in TEST()
2422 handle(Smi::FromInt(20), isolate)), in TEST()
2424 handle(Smi::FromInt(30), isolate)), in TEST()
2426 handle(Smi::FromInt(3), isolate)), in TEST()
2428 handle(Smi::FromInt(5), isolate)), in TEST()
2513 Handle<Object>(Smi::FromInt(10), isolate)), in TEST()
2556 Handle<Object>(Smi::FromInt(10), isolate)), in TEST()
2564 Handle<Object>(Smi::FromInt(10), isolate)), in TEST()
2623 handle(Smi::FromInt(2), isolate)), in TEST()
2643 handle(Smi::FromInt(2), isolate)), in TEST()
2656 Handle<Object>(Smi::FromInt(1), isolate)), in TEST()
2681 Handle<Object>(Smi::FromInt(2), isolate)), in TEST()
2687 Handle<Object>(Smi::FromInt(30), isolate))}; in TEST()
2921 handle(Smi::FromInt(2), isolate)), in TEST()
2928 handle(Smi::FromInt(3), isolate)), in TEST()
2935 handle(Smi::FromInt(3), isolate)), in TEST()
2950 handle(Smi::FromInt(300), isolate)), in TEST()
2957 handle(Smi::FromInt(2), isolate)), in TEST()
2965 handle(Smi::FromInt(3), isolate)), in TEST()
2976 handle(Smi::FromInt(5), isolate)), in TEST()
2998 handle(Smi::FromInt(100), isolate)), in TEST()
3002 handle(Smi::FromInt(110), isolate)), in TEST()
3006 handle(Smi::FromInt(110), isolate)), in TEST()
3190 callable(handle(Smi::FromInt(arg_value), handles.main_isolate())) in TEST()
3290 {"return x;", handle(Smi::FromInt(1), isolate)}, in TEST()
3293 {"x = 10; return x;", handle(Smi::FromInt(10), isolate)}, in TEST()
3294 {"'use strict'; x = 20; return x;", handle(Smi::FromInt(20), isolate)}, in TEST()
3317 handle(Smi::FromInt(2), isolate)}, in TEST()
3320 handle(Smi::FromInt(3), isolate)}, in TEST()
3324 handle(Smi::FromInt(30), isolate)}, in TEST()
3360 {init_function_body + "return x;", handle(Smi::FromInt(1), isolate)}, in TEST()
3364 handle(Smi::FromInt(10), isolate)}, in TEST()
3366 handle(Smi::FromInt(20), isolate)}, in TEST()
3466 {"return eval('1;');", handle(Smi::FromInt(1), isolate)}, in TEST()
3467 {"return eval('100 * 20;');", handle(Smi::FromInt(2000), isolate)}, in TEST()
3469 handle(Smi::FromInt(30), isolate)}, in TEST()
3471 handle(Smi::FromInt(33), isolate)}, in TEST()
3474 handle(Smi::FromInt(53), isolate)}, in TEST()
3476 handle(Smi::FromInt(86), isolate)}, in TEST()
3478 handle(Smi::FromInt(11), isolate)}, in TEST()
3480 handle(Smi::FromInt(20), isolate)}, in TEST()
3482 handle(Smi::FromInt(1), isolate)}, in TEST()
3484 handle(Smi::FromInt(1), isolate)}, in TEST()
3516 handle(Smi::FromInt(30), isolate)}, in TEST()
3518 handle(Smi::FromInt(10), isolate)}, in TEST()
3522 handle(Smi::FromInt(30), isolate)}, in TEST()
3532 callable(handle(Smi::FromInt(20), isolate)).ToHandleChecked(); in TEST()
3546 handle(Smi::FromInt(33), isolate)}, in TEST()