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

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

Issue 2108203002: Implement immutable prototype chains (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: IsImmutableProto Created 4 years, 6 months 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
« no previous file with comments | « test/mjsunit/regress/regress-1403.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-571517.js
diff --git a/test/mjsunit/regress/regress-crbug-571517.js b/test/mjsunit/regress/regress-crbug-571517.js
index 03bf76cb5e36924f8d4b15b6c0515fc7715f369e..ca7d7f73ba6a212e56626a65b32ae4416acf84b1 100644
--- a/test/mjsunit/regress/regress-crbug-571517.js
+++ b/test/mjsunit/regress/regress-crbug-571517.js
@@ -11,7 +11,10 @@ function f(a) {
var rec = new Receiver();
-var proto = rec.__proto__.__proto__;
+// Formerly, this mutated rec.__proto__.__proto__, but
+// the global object prototype chain is now immutable;
+// not sure if this test now hits the original hazard case.
+var proto = rec.__proto__;
// Initialize prototype chain dependent IC (nonexistent load).
assertEquals(undefined, f(rec));
« no previous file with comments | « test/mjsunit/regress/regress-1403.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698