Revision f230a1cf deps/v8/test/mjsunit/opt-elements-kind.js
deps/v8/test/mjsunit/opt-elements-kind.js | ||
---|---|---|
40 | 40 |
// in this test case. Depending on whether smi-only arrays are actually |
41 | 41 |
// enabled, this test takes the appropriate code path to check smi-only arrays. |
42 | 42 |
|
43 |
// Reset the GC stress mode to be off. Needed because AllocationMementos only |
|
44 |
// live for one gc, so a gc that happens in certain fragile areas of the test |
|
45 |
// can break assumptions. |
|
46 |
%SetFlags("--gc-interval=-1") |
|
47 |
|
|
43 | 48 |
support_smi_only_arrays = %HasFastSmiElements(new Array(1,2,3,4,5,6,7,8)); |
44 | 49 |
|
45 | 50 |
if (support_smi_only_arrays) { |
Also available in: Unified diff