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

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

Issue 1163793002: Fix bogus insertion of filler in LO-space by String#replace. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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/runtime/runtime-regexp.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-493779.js
diff --git a/test/mjsunit/compiler/regress-463056.js b/test/mjsunit/regress/regress-crbug-493779.js
similarity index 57%
copy from test/mjsunit/compiler/regress-463056.js
copy to test/mjsunit/regress/regress-crbug-493779.js
index fb871618e42c9387d38a445522bfd01cfbbe9bfa..1071ed23ac95a50cc3312cf1d29f75fafd0599a8 100644
--- a/test/mjsunit/compiler/regress-463056.js
+++ b/test/mjsunit/regress/regress-crbug-493779.js
@@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-function f() {
- return ((0%0)&1) + (1>>>(0%0));
-}
+// Flags: --enable-slow-asserts
-f();
+var s = "\u1234-------";
+for (var i = 0; i < 17; i++) {
+ s += s;
+}
+s.replace(/[\u1234]/g, "");
« no previous file with comments | « src/runtime/runtime-regexp.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698