Index: test/mjsunit/parallel-optimize-disabled.js |
diff --git a/test/mjsunit/parallel-optimize-disabled.js b/test/mjsunit/parallel-optimize-disabled.js |
index 479684d40721d37124081a7d8f99e0be2696d6c3..b56303e08f4f14aec362764becec0f5b75d7cbb6 100644 |
--- a/test/mjsunit/parallel-optimize-disabled.js |
+++ b/test/mjsunit/parallel-optimize-disabled.js |
@@ -28,6 +28,11 @@ |
// Flags: --nodead-code-elimination --parallel-recompilation |
// Flags: --allow-natives-syntax |
+if (!%IsParallelRecompilationSupported()) { |
+ print("Parallel recompilation is disabled. Skipping this test."); |
+ quit(); |
+} |
+ |
function g() { // g() cannot be optimized. |
const x = 1; |
x++; |