Index: test/mjsunit/regress-sync-optimized-lists.js |
diff --git a/test/mjsunit/regress-sync-optimized-lists.js b/test/mjsunit/regress-sync-optimized-lists.js |
index f07c12b2cb82ef8ae2d149472aa38723e200f721..410551ce3199aff8597010a3dcdba0e74b50d07b 100644 |
--- a/test/mjsunit/regress-sync-optimized-lists.js |
+++ b/test/mjsunit/regress-sync-optimized-lists.js |
@@ -5,6 +5,8 @@ |
// Flags: --allow-natives-syntax --block-concurrent-recompilation |
// Flags: --no-concurrent-osr |
+// This test assumes concurrent recompilation is enabled |
+if (%IsConcurrentRecompilationSupported()) { |
function Ctor() { |
this.a = 1; |
} |
@@ -43,3 +45,4 @@ o.c = 2.2; |
var f2 = get_closure(); |
f2(new Ctor(), true); |
+} |