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

Issue 11415130: Dart2js: Fix stack overflow in new String.fromCharCodes bug=6919 (Closed)

Created:
8 years ago by erikcorry
Modified:
8 years ago
Reviewers:
floitsch, sra1
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Dart2js: Fix stack overflow in new String.fromCharCodes bug=6919 R=floitsch@google.com BUG=6919 Committed: https://code.google.com/p/dart/source/detail?r=15308

Patch Set 1 #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -3 lines) Patch
M sdk/lib/_internal/compiler/implementation/lib/js_helper.dart View 3 chunks +18 lines, -3 lines 9 comments Download
M tests/corelib/string_from_list_test.dart View 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
erikcorry
8 years ago (2012-11-26 10:05:00 UTC) #1
floitsch
LGTM. https://codereview.chromium.org/11415130/diff/1/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart File sdk/lib/_internal/compiler/implementation/lib/js_helper.dart (right): https://codereview.chromium.org/11415130/diff/1/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart#newcode538 sdk/lib/_internal/compiler/implementation/lib/js_helper.dart:538: // This is to fix http://dartbug.com/6919 Please add ...
8 years ago (2012-11-26 12:01:28 UTC) #2
erikcorry
https://codereview.chromium.org/11415130/diff/1/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart File sdk/lib/_internal/compiler/implementation/lib/js_helper.dart (right): https://codereview.chromium.org/11415130/diff/1/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart#newcode538 sdk/lib/_internal/compiler/implementation/lib/js_helper.dart:538: // This is to fix http://dartbug.com/6919 On 2012/11/26 12:01:28, ...
8 years ago (2012-12-03 12:37:24 UTC) #3
sra1
8 years ago (2012-12-03 16:22:44 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/11415130/diff/1/sdk/lib/_internal/compiler/im...
File sdk/lib/_internal/compiler/implementation/lib/js_helper.dart (right):

https://codereview.chromium.org/11415130/diff/1/sdk/lib/_internal/compiler/im...
sdk/lib/_internal/compiler/implementation/lib/js_helper.dart:545:
JS('List<int>', r'array.slice(#, #)',
JS('=List', ...)

The result of Array.prototype.slice is a JS Array with no type info.

Powered by Google App Engine
This is Rietveld 408576698