OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:smi
(Results
1 - 25
of
139
) sorted by null
1
2
3
4
5
6
/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.
47
print("Tests include
smi
-only arrays.");
49
print("Tests do NOT include
smi
-only arrays.");
53
fast_smi_only : 'fast
smi
only elements',
123
// 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.
47
print("Tests include
smi
-only arrays.");
49
print("Tests do NOT include
smi
-only arrays.");
53
fast_smi_only : 'fast
smi
only elements',
166
// If the argument isn't a
smi
, it bails out as wel
[
all
...]
elements-kind.js
28
// Flags: --allow-natives-syntax --
smi
-only-arrays --expose-gc
37
// Since --
smi
-only-arrays affects builtins, its default setting at compile
38
// time sticks if built with snapshot. If --
smi
-only-arrays is deactivated
39
// by default, only a no-snapshot build actually has
smi
-only arrays enabled
40
// in this test case. Depending on whether
smi
-only arrays are actually
41
// enabled, this test takes the appropriate code path to check
smi
-only arrays.
46
print("Tests include
smi
-only arrays.");
48
print("Tests do NOT include
smi
-only arrays.");
52
fast_smi_only : 'fast
smi
only elements',
125
// Make sure the element kind transitions from
smi
when a non-smi is stored
[
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.
47
print("Tests include
smi
-only arrays.");
49
print("Tests do NOT include
smi
-only arrays.");
53
fast_smi_only : 'fast
smi
only elements',
array-natives-elements.js
28
// Flags: --allow-natives-syntax --
smi
-only-arrays
32
// Since --
smi
-only-arrays affects builtins, its default setting at compile time
33
// sticks if built with snapshot. If --
smi
-only-arrays is deactivated by
34
// default, only a no-snapshot build actually has
smi
-only arrays enabled in
35
// this test case. Depending on whether
smi
-only arrays are actually enabled,
36
// this test takes the appropriate code path to check
smi
-only arrays.
41
print("Tests include
smi
-only arrays.");
43
print("Tests do NOT include
smi
-only arrays.");
46
// 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
37
// Since --
smi
-only-arrays affects builtins, its default setting at compile
38
// time sticks if built with snapshot. If --
smi
-only-arrays is deactivated
39
// by default, only a no-snapshot build actually has
smi
-only arrays enabled
40
// in this test case. Depending on whether
smi
-only arrays are actually
41
// enabled, this test takes the appropriate code path to check
smi
-only arrays.
51
print("Tests include
smi
-only arrays.");
53
print("Tests do NOT include
smi
-only arrays.");
57
fast_smi_only : 'fast
smi
only elements',
142
// Test transition chain
SMI
->DOUBLE->FAST (crankshafted function wil
[
all
...]
osr-elements-kind.js
28
// Flags: --allow-natives-syntax --
smi
-only-arrays --expose-gc
37
// Since --
smi
-only-arrays affects builtins, its default setting at compile
38
// time sticks if built with snapshot. If --
smi
-only-arrays is deactivated
39
// by default, only a no-snapshot build actually has
smi
-only arrays enabled
40
// in this test case. Depending on whether
smi
-only arrays are actually
41
// enabled, this test takes the appropriate code path to check
smi
-only arrays.
51
print("Tests include
smi
-only arrays.");
53
print("Tests do NOT include
smi
-only arrays.");
57
fast_smi_only : 'fast
smi
only elements',
136
// Test transition chain
SMI
->DOUBLE->FAST (crankshafted function wil
[
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.
47
print("Tests include
smi
-only arrays.");
49
print("Tests do NOT include
smi
-only arrays.");
53
fast_smi_only : 'fast
smi
only elements',
204
// Case: new Array() as allocation site,
smi
->doubl
[
all
...]
elements-transition.js
28
// Flags: --allow-natives-syntax --
smi
-only-arrays --notrack-allocation-sites
33
print("Tests include
smi
-only arrays.");
35
print("Tests do NOT include
smi
-only arrays.");
112
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.
/external/chromium_org/v8/test/mjsunit/regress/
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-681.js
30
// Test that load ICs for nonexistent properties bail out on
smi
receiver.
40
// Make x a
smi
.
/external/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.
array-literal-transitions.js
28
// Flags: --allow-natives-syntax --
smi
-only-arrays --expose-gc
30
// Since --
smi
-only-arrays affects builtins, its default setting at compile
31
// time sticks if built with snapshot. If --
smi
-only-arrays is deactivated
32
// by default, only a no-snapshot build actually has
smi
-only arrays enabled
33
// in this test case. Depending on whether
smi
-only arrays are actually
34
// enabled, this test takes the appropriate code path to check
smi
-only arrays.
39
print("Tests include
smi
-only arrays.");
41
print("Tests do NOT include
smi
-only arrays.");
44
// 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
elements-kind.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.");
46
fast_smi_only : 'fast
smi
only elements',
119
// Make sure the element kind transitions from smionly when a non-
smi
is stored
[
all
...]
elements-transition.js
28
// Flags: --allow-natives-syntax --
smi
-only-arrays
33
print("Tests include
smi
-only arrays.");
35
print("Tests do NOT include
smi
-only arrays.");
112
print("Test skipped because
smi
only arrays are not supported.");
/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.
/external/v8/src/
property-details.h
51
class
Smi
;
97
explicit inline PropertyDetails(
Smi
*
smi
);
98
inline
Smi
* AsSmi();
/external/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 189 milliseconds
1
2
3
4
5
6