| Index: test/mjsunit/allocation-site-info.js
|
| diff --git a/test/mjsunit/allocation-site-info.js b/test/mjsunit/allocation-site-info.js
|
| index cbf892c632fed8ac53459157f90e7c7403325a8d..c7184af6f29ce0664f90719558d046f1a648ddfe 100644
|
| --- a/test/mjsunit/allocation-site-info.js
|
| +++ b/test/mjsunit/allocation-site-info.js
|
| @@ -360,6 +360,12 @@ assertOptimized(instanceof_check);
|
| instanceof_check(realmBArray);
|
| assertUnoptimized(instanceof_check);
|
|
|
| +// Perform a gc because without it the test below can experience an
|
| +// allocation failure at an inconvenient point. Allocation mementos get
|
| +// cleared on gc, and they can't deliver elements kind feedback when that
|
| +// happens.
|
| +gc();
|
| +
|
| // Case: make sure nested arrays benefit from allocation site feedback as
|
| // well.
|
| (function() {
|
|
|