Index: test/mjsunit/debug-script.js |
diff --git a/test/mjsunit/debug-script.js b/test/mjsunit/debug-script.js |
index 32415c24287b2264a5b5f678a523e76bbc49d2a8..276fd55e90e9b42f40ca4976c8d93ea744e4b4d5 100644 |
--- a/test/mjsunit/debug-script.js |
+++ b/test/mjsunit/debug-script.js |
@@ -28,6 +28,11 @@ |
// Flags: --expose-debug-as debug --expose-gc --send-idle-notification |
// Flags: --allow-natives-syntax --expose-natives-as natives |
// Flags: --noharmony-shipping |
+// Flags: --nostress-opt |
+ |
+// --nostress-opt is specified because in stress mode the compilation cache |
+// may hold on to old copies of scripts (see bug 1641). |
+ |
// Note: this test checks that that the number of scripts reported as native |
// by Debug.scripts() is the same as a number of core native scripts. |
// Native scripts that are added by --harmony-shipping are classified |