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

Unified Diff: test/mjsunit/regress/regress-crbug-599073-1.js

Issue 1845243005: [ic] Use the CallFunction builtin to invoke accessors. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: mips64 fix Created 4 years, 9 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/ic/x64/handler-compiler-x64.cc ('k') | test/mjsunit/regress/regress-crbug-599073-2.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-599073-1.js
diff --git a/test/mjsunit/regress/regress-crbug-595657.js b/test/mjsunit/regress/regress-crbug-599073-1.js
similarity index 56%
copy from test/mjsunit/regress/regress-crbug-595657.js
copy to test/mjsunit/regress/regress-crbug-599073-1.js
index 653259781be24ec1acf1d5e2aa4f4de2f361d3ec..fc89fe4c66a6d4e944b292268f0087e6bf98aa86 100644
--- a/test/mjsunit/regress/regress-crbug-595657.js
+++ b/test/mjsunit/regress/regress-crbug-599073-1.js
@@ -2,14 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --stack-size=100
+Object.defineProperty(Boolean.prototype, "v", {get:constructor});
-function test() {
- try {
- test();
- } catch(e) {
- /(\2)(a)/.test("");
- }
-}
+function foo(b) { return b.v; }
-test();
+foo(true);
+foo(true);
+foo(true);
« no previous file with comments | « src/ic/x64/handler-compiler-x64.cc ('k') | test/mjsunit/regress/regress-crbug-599073-2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698