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

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

Issue 2120963002: [fullcode][mips][mips64][ppc][s390] Avoid trashing of a home object when doing a keyed store to a... (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 | « src/full-codegen/s390/full-codegen-s390.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-625590.js
diff --git a/test/mjsunit/regress/regress-4659.js b/test/mjsunit/regress/regress-crbug-625590.js
similarity index 63%
copy from test/mjsunit/regress/regress-4659.js
copy to test/mjsunit/regress/regress-crbug-625590.js
index 8992bb89feeb145c3470220a44b44a9580e540fe..aa9ff8a5df28f9c71f94df257fc94f9b5dbe6aa7 100644
--- a/test/mjsunit/regress/regress-4659.js
+++ b/test/mjsunit/regress/regress-crbug-625590.js
@@ -2,9 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-var obj = {
- get longerName(){
- return 42;
+var obj = {};
+function f() {}
+f.prototype = {
+ mSloppy() {
+ super[obj] = 15;
}
};
-assertEquals(42, obj.longerName);
+new f().mSloppy();
« no previous file with comments | « src/full-codegen/s390/full-codegen-s390.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698