summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/concurrent-initial-prototype-change-1.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/concurrent-initial-prototype-change-1.js')
-rw-r--r--deps/v8/test/mjsunit/concurrent-initial-prototype-change-1.js15
1 files changed, 4 insertions, 11 deletions
diff --git a/deps/v8/test/mjsunit/concurrent-initial-prototype-change-1.js b/deps/v8/test/mjsunit/concurrent-initial-prototype-change-1.js
index 981e8e6bb6..2ca1f8a7d9 100644
--- a/deps/v8/test/mjsunit/concurrent-initial-prototype-change-1.js
+++ b/deps/v8/test/mjsunit/concurrent-initial-prototype-change-1.js
@@ -25,11 +25,9 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Flags: --allow-natives-syntax
-// Flags: --concurrent-recompilation
-// Flags: --nostress-opt --no-always-opt
-// Flags: --no-turboprop
-
+// Flags: --allow-natives-syntax --concurrent-recompilation
+// Flags: --no-stress-opt --no-always-opt --no-turboprop
+//
// --nostress-opt is in place because this particular optimization
// (guaranteeing that the Array prototype chain has no elements) is
// maintained isolate-wide. Once it's been "broken" by the change
@@ -37,11 +35,6 @@
// optimization anymore, and the code will remain optimized despite
// additional changes to the prototype chain.
-if (!%IsConcurrentRecompilationSupported()) {
- print("Concurrent recompilation is disabled. Skipping this test.");
- quit();
-}
-
function f1(a, i) {
return a[i] + 0.5;
}
@@ -62,7 +55,7 @@ assertEquals(0.5, f1(arr, 0));
%WaitForBackgroundOptimization();
Object.prototype[1] = 1.5;
assertEquals(2, f1(arr, 1));
-assertUnoptimized(f1, "no sync");
+assertUnoptimized(f1);
// Sync with background thread to conclude optimization, which bails out
// due to map dependency.
%FinalizeOptimization();