summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/code-coverage-block-opt.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/code-coverage-block-opt.js')
-rw-r--r--deps/v8/test/mjsunit/code-coverage-block-opt.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/code-coverage-block-opt.js b/deps/v8/test/mjsunit/code-coverage-block-opt.js
index 5477a18dd5..ee21ff6a80 100644
--- a/deps/v8/test/mjsunit/code-coverage-block-opt.js
+++ b/deps/v8/test/mjsunit/code-coverage-block-opt.js
@@ -3,8 +3,14 @@
// found in the LICENSE file.
// Flags: --allow-natives-syntax --no-always-opt --opt
+// Flags: --no-stress-flush-bytecode
// Files: test/mjsunit/code-coverage-utils.js
+if (isNeverOptimizeLiteMode()) {
+ print("Warning: skipping test that requires optimization in Lite mode.");
+ quit(0);
+}
+
%DebugToggleBlockCoverage(true);
TestCoverage(