HomeSort by relevance Sort by last modified time
    Searched refs:smi (Results 1 - 25 of 89) sorted by null

1 2 3 4

  /external/chromium_org/v8/test/mjsunit/regress/
regress-crbug-315252.js 42 // Use migrate to stabilize o1, o2 and o4 in [double, double, smi].
49 // Optimize "store_transition" to transition from [double, double, smi] to
50 // [double, double, smi, smi]. This adds a dependency on the
51 // [double, double, smi] map.
56 // Pass in a deprecated object of format [smi, smi, double]. This will migrate
57 // the instance, forcing a merge with [double, double, smi], ending up with
58 // [double, double, double], which deprecates [double, double, smi] and
59 // deoptimizes all dependencies of [double, double, smi], includin
    [all...]
regress-crbug-245480.js 28 // Flags: --allow-natives-syntax --smi-only-arrays --expose-gc
32 // Since --smi-only-arrays affects builtins, its default setting at compile
33 // time sticks if built with snapshot. If --smi-only-arrays is deactivated
34 // by default, only a no-snapshot build actually has smi-only arrays enabled
35 // in this test case. Depending on whether smi-only arrays are actually
36 // enabled, this test takes the appropriate code path to check smi-only arrays.
42 print("Tests include smi-only arrays.");
44 print("Tests do NOT include smi-only arrays.");
regress-350887.js 9 // 2501866688 is out of smi range.
regress-crbug-329709.js 33 case 1500000000: return "non-smi int32";
41 assertEquals("non-smi int32", boom(1500000000));
regress-681.js 30 // Test that load ICs for nonexistent properties bail out on smi receiver.
40 // Make x a smi.
regress-crbug-39160.js 31 // the left hand side is known to be a smi (max smi value is 1073741823). This
  /external/chromium_org/v8/test/mjsunit/
codegen-coverage.js 93 // Test the non-commutative subtraction operation with a smi on the
94 // left, all available registers on the right, and a non-smi result.
95 x = identity(-1073741824); // Least (31-bit) smi.
96 a = x + 1; // Still a smi, the greatest smi negated.
101 // Subtraction should overflow the 31-bit smi range. The result
102 // (1073741824) is outside the 31-bit smi range so it doesn't hit the
103 // "unsafe smi" code that spills a register.
track-fields.js 43 // o1,o2 are smi, smi, smi
46 // o1 is smi, double, smi
49 // o2 is smi, double, smi
52 // o3 is initialized as smi, double, smi
70 // All smi
    [all...]
array-literal-feedback.js 28 // Flags: --allow-natives-syntax --smi-only-arrays --expose-gc
32 // Since --smi-only-arrays affects builtins, its default setting at compile
33 // time sticks if built with snapshot. If --smi-only-arrays is deactivated
34 // by default, only a no-snapshot build actually has smi-only arrays enabled
35 // in this test case. Depending on whether smi-only arrays are actually
36 // enabled, this test takes the appropriate code path to check smi-only arrays.
42 print("Tests include smi-only arrays.");
44 print("Tests do NOT include smi-only arrays.");
48 fast_smi_only : 'fast smi only elements',
118 // transition from SMI->DOUBLE->FAS
    [all...]
array-literal-transitions.js 28 // Flags: --allow-natives-syntax --smi-only-arrays --expose-gc
31 // Since --smi-only-arrays affects builtins, its default setting at compile
32 // time sticks if built with snapshot. If --smi-only-arrays is deactivated
33 // by default, only a no-snapshot build actually has smi-only arrays enabled
34 // in this test case. Depending on whether smi-only arrays are actually
35 // enabled, this test takes the appropriate code path to check smi-only arrays.
40 print("Tests include smi-only arrays.");
42 print("Tests do NOT include smi-only arrays.");
45 // IC and Crankshaft support for smi-only elements in dynamic array literals.
int32-ops.js 28 // Repeat most the tests in smi-ops.js that use SMI_MIN and SMI_MAX, but
65 assertEquals(42 + ONE, Add1(OBJ_42)); // non-smi
66 assertEquals(42 + ONE, Add1Reversed(OBJ_42)); // non-smi
72 assertEquals(42 + ONE_HUNDRED, Add100(OBJ_42)); // non-smi
73 assertEquals(42 + ONE_HUNDRED, Add100Reversed(OBJ_42)); // non-smi
98 assertEquals(42 - ONE, Sub1(OBJ_42)); // non-smi
99 assertEquals(ONE - 42, Sub1Reversed(OBJ_42)); // non-smi
105 assertEquals(42 - ONE_HUNDRED, Sub100(OBJ_42)); // non-smi
106 assertEquals(ONE_HUNDRED - 42, Sub100Reversed(OBJ_42)); // non-smi
smi-representation.js 31 return {"smi":0};
35 var s = o.smi;
38 o.smi = s;
57 o.smi = t;
array-constructor-feedback.js 28 // Flags: --allow-natives-syntax --smi-only-arrays --expose-gc
32 // Since --smi-only-arrays affects builtins, its default setting at compile
33 // time sticks if built with snapshot. If --smi-only-arrays is deactivated
34 // by default, only a no-snapshot build actually has smi-only arrays enabled
35 // in this test case. Depending on whether smi-only arrays are actually
36 // enabled, this test takes the appropriate code path to check smi-only arrays.
42 print("Tests include smi-only arrays.");
44 print("Tests do NOT include smi-only arrays.");
48 fast_smi_only : 'fast smi only elements',
157 // If the argument isn't a smi, things should still work
    [all...]
array-feedback.js 28 // Flags: --allow-natives-syntax --smi-only-arrays --expose-gc
32 // Since --smi-only-arrays affects builtins, its default setting at compile
33 // time sticks if built with snapshot. If --smi-only-arrays is deactivated
34 // by default, only a no-snapshot build actually has smi-only arrays enabled
35 // in this test case. Depending on whether smi-only arrays are actually
36 // enabled, this test takes the appropriate code path to check smi-only arrays.
42 print("Tests include smi-only arrays.");
44 print("Tests do NOT include smi-only arrays.");
48 fast_smi_only : 'fast smi only elements',
array-natives-elements.js 28 // Flags: --allow-natives-syntax --smi-only-arrays
31 // Since --smi-only-arrays affects builtins, its default setting at compile time
32 // sticks if built with snapshot. If --smi-only-arrays is deactivated by
33 // default, only a no-snapshot build actually has smi-only arrays enabled in
34 // this test case. Depending on whether smi-only arrays are actually enabled,
35 // this test takes the appropriate code path to check smi-only arrays.
40 print("Tests include smi-only arrays.");
42 print("Tests do NOT include smi-only arrays.");
45 // IC and Crankshaft support for smi-only elements in dynamic array literals.
opt-elements-kind.js 28 // Flags: --allow-natives-syntax --smi-only-arrays --expose-gc
36 // Since --smi-only-arrays affects builtins, its default setting at compile
37 // time sticks if built with snapshot. If --smi-only-arrays is deactivated
38 // by default, only a no-snapshot build actually has smi-only arrays enabled
39 // in this test case. Depending on whether smi-only arrays are actually
40 // enabled, this test takes the appropriate code path to check smi-only arrays.
45 print("Tests include smi-only arrays.");
47 print("Tests do NOT include smi-only arrays.");
51 fast_smi_only : 'fast smi only elements',
148 // Test transition chain SMI->DOUBLE->FAST (crankshafted function wil
    [all...]
osr-elements-kind.js 28 // Flags: --allow-natives-syntax --smi-only-arrays --expose-gc
36 // Since --smi-only-arrays affects builtins, its default setting at compile
37 // time sticks if built with snapshot. If --smi-only-arrays is deactivated
38 // by default, only a no-snapshot build actually has smi-only arrays enabled
39 // in this test case. Depending on whether smi-only arrays are actually
40 // enabled, this test takes the appropriate code path to check smi-only arrays.
45 print("Tests include smi-only arrays.");
47 print("Tests do NOT include smi-only arrays.");
51 fast_smi_only : 'fast smi only elements',
141 // Test transition chain SMI->DOUBLE->FAST (crankshafted function wil
    [all...]
elements-kind.js 28 // Flags: --allow-natives-syntax --smi-only-arrays --expose-gc --nostress-opt --typed-array-max_size_in-heap=2048
31 // Since --smi-only-arrays affects builtins, its default setting at compile
32 // time sticks if built with snapshot. If --smi-only-arrays is deactivated
33 // by default, only a no-snapshot build actually has smi-only arrays enabled
34 // in this test case. Depending on whether smi-only arrays are actually
35 // enabled, this test takes the appropriate code path to check smi-only arrays.
40 print("Tests include smi-only arrays.");
42 print("Tests do NOT include smi-only arrays.");
46 fast_smi_only : 'fast smi only elements',
155 // Make sure the element kind transitions from smi when a non-smi is stored
    [all...]
allocation-site-info.js 28 // Flags: --allow-natives-syntax --smi-only-arrays --expose-gc
32 // Since --smi-only-arrays affects builtins, its default setting at compile
33 // time sticks if built with snapshot. If --smi-only-arrays is deactivated
34 // by default, only a no-snapshot build actually has smi-only arrays enabled
35 // in this test case. Depending on whether smi-only arrays are actually
36 // enabled, this test takes the appropriate code path to check smi-only arrays.
42 print("Tests include smi-only arrays.");
44 print("Tests do NOT include smi-only arrays.");
48 fast_smi_only : 'fast smi only elements',
199 // Case: new Array() as allocation site, smi->doubl
    [all...]
elements-transition.js 28 // Flags: --allow-natives-syntax --smi-only-arrays
34 print("Tests include smi-only arrays.");
36 print("Tests do NOT include smi-only arrays.");
130 print("Test skipped because smi only arrays are not supported.");
math-floor-negative.js 32 // Divide by 10 to avoid overflow when smi-tagging at the end.
43 // Divide by 10 to avoid overflow when smi-tagging at the end.
smi-mul.js 54 // 2^30 is a smi boundary on arm and ia32.
56 // 2^31 is a smi boundary on x64.
switch.js 345 smi: [1, 2, 3, 4],
399 expected: clause_type !== 'smi' ? 'ok-' + v : undefined
406 expected: clause_type !== 'smi' ? 'ok-' + v : undefined
415 } else if (test_type === 'smi') {
416 pairs = clause_values.smi.map(function(v) {
423 pairs = clause_values.smi.map(function(v) {
439 var test_types = ['symbols', 'strings', 'oddball', 'smi', 'heapnum'];
457 test('smi');
smi-ops-inlined.js 28 // Flags: --always-inline-smi-code
63 assertEquals(42 + ONE, Add1(OBJ_42)); // non-smi
64 assertEquals(42 + ONE, Add1Reversed(OBJ_42)); // non-smi
70 assertEquals(42 + ONE_HUNDRED, Add100(OBJ_42)); // non-smi
71 assertEquals(42 + ONE_HUNDRED, Add100Reversed(OBJ_42)); // non-smi
96 assertEquals(42 - ONE, Sub1(OBJ_42)); // non-smi
97 assertEquals(ONE - 42, Sub1Reversed(OBJ_42)); // non-smi
103 assertEquals(42 - ONE_HUNDRED, Sub100(OBJ_42)); // non-smi
104 assertEquals(ONE_HUNDRED - 42, Sub100Reversed(OBJ_42)); // non-smi
218 // Not actually Smi operations
    [all...]
  /external/chromium_org/v8/test/mjsunit/compiler/
deopt-inlined-smi.js 28 // Flags: --always-opt --always-inline-smi-code
30 // Test deoptimization into inlined smi code.

Completed in 219 milliseconds

1 2 3 4