| Index: test/mjsunit/opt-elements-kind.js
|
| diff --git a/test/mjsunit/opt-elements-kind.js b/test/mjsunit/opt-elements-kind.js
|
| index 83ad702c2d2c55991daa1bed2aafa475a4f6315a..fe6b8b9bfb8c8b541256d74e0f108cd01d383717 100644
|
| --- a/test/mjsunit/opt-elements-kind.js
|
| +++ b/test/mjsunit/opt-elements-kind.js
|
| @@ -40,6 +40,11 @@
|
| // in this test case. Depending on whether smi-only arrays are actually
|
| // enabled, this test takes the appropriate code path to check smi-only arrays.
|
|
|
| +// Reset the GC stress mode to be off. Needed because AllocationMementos only
|
| +// live for one gc, so a gc that happens in certain fragile areas of the test
|
| +// can break assumptions.
|
| +%SetFlags("--gc-interval=-1")
|
| +
|
| support_smi_only_arrays = %HasFastSmiElements(new Array(1,2,3,4,5,6,7,8));
|
|
|
| if (support_smi_only_arrays) {
|
|
|