Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1055)

Unified Diff: test/mjsunit/regress/regress-crbug-669411.js

Issue 2534613002: [ic] Use validity cells to protect keyed element stores against object's prototype chain modificati… (Closed)
Patch Set: The fix Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/mjsunit/regress/regress-crbug-669411.js
diff --git a/test/mjsunit/regress/regress-crbug-669411.js b/test/mjsunit/regress/regress-crbug-669411.js
new file mode 100644
index 0000000000000000000000000000000000000000..469934f8ffb98cab8224a4f15ff212d87ccb6620
--- /dev/null
+++ b/test/mjsunit/regress/regress-crbug-669411.js
@@ -0,0 +1,11 @@
+// Copyright 2016 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+function f(o) {
+ o[5000000] = 0;
+}
+var o = Object.create(null);
+f(o);
+f(o);
+f(o);
« src/ic/accessor-assembler.cc ('K') | « test/mjsunit/regress/regress-crbug-662907.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698