summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/compiler/native-context-specialization-hole-check.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/compiler/native-context-specialization-hole-check.js')
-rw-r--r--deps/v8/test/mjsunit/compiler/native-context-specialization-hole-check.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/compiler/native-context-specialization-hole-check.js b/deps/v8/test/mjsunit/compiler/native-context-specialization-hole-check.js
index 1256f453eb..7f4db56483 100644
--- a/deps/v8/test/mjsunit/compiler/native-context-specialization-hole-check.js
+++ b/deps/v8/test/mjsunit/compiler/native-context-specialization-hole-check.js
@@ -27,6 +27,11 @@
// Flags: --allow-natives-syntax --opt --no-always-opt
+if (isNeverOptimizeLiteMode()) {
+ print("Warning: skipping test that requires optimization in Lite mode.");
+ quit(0);
+}
+
function f() {
Array.prototype[10] = 2;
var arr = new Array();