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

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

Issue 759823004: Map::CopyGeneralizeAllRepresentations() left incorrect layout descriptor in a new map. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month 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 | « src/objects.cc ('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-436820.js
diff --git a/test/mjsunit/regress/regress-409533.js b/test/mjsunit/regress/regress-crbug-436820.js
similarity index 61%
copy from test/mjsunit/regress/regress-409533.js
copy to test/mjsunit/regress/regress-crbug-436820.js
index e51065e4bf43f8c8ca222c458c85a96f003996a2..eea386ce1854ab408f7d6fa1dd5c5682ddd24b71 100644
--- a/test/mjsunit/regress/regress-409533.js
+++ b/test/mjsunit/regress/regress-crbug-436820.js
@@ -4,10 +4,10 @@
// Flags: --allow-natives-syntax
-function f() {
- %_RegExpConstructResult(0, {}, {});
+function c(p) {
+ return {__proto__: p};
}
-f();
-f();
-%OptimizeFunctionOnNextCall(f);
-f();
+var p = {};
+var o = c(p);
+p.x = 0.6;
+Object.defineProperty(p, "x", { writable: false });
« no previous file with comments | « src/objects.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698