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

Issue 23766002: Work around runtime engine deficiencies. (Closed)

Created:
7 years, 3 months ago by ngeoffray
Modified:
7 years, 3 months ago
Reviewers:
bakster, ahe
CC:
reviews_dartlang.org, kasperl, kustermann, ricow1
Visibility:
Public.

Description

Work around runtime engine deficiencies. This CL changes length access of typed arrays to a call to a runtime helper. That helper is an optimized version for V8, or a regular length access for other engines. R=ahe@google.com, bak@google.com Committed: https://code.google.com/p/dart/source/detail?r=26905

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -50 lines) Patch
M sdk/lib/_internal/compiler/implementation/compiler.dart View 3 chunks +8 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 chunk +9 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/constant_emitter.dart View 1 chunk +6 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/codegen.dart View 1 1 chunk +15 lines, -1 line 0 comments Download
M sdk/lib/_internal/lib/foreign_helper.dart View 1 chunk +14 lines, -0 lines 0 comments Download
M sdk/lib/typed_data/dart2js/typed_data_dart2js.dart View 1 2 21 chunks +91 lines, -49 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ngeoffray
7 years, 3 months ago (2013-08-29 16:13:25 UTC) #1
bakster
Great speedup despite the hack. LGTM after comments have been addressed, Lars https://codereview.chromium.org/23766002/diff/3001/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart File sdk/lib/_internal/compiler/implementation/ssa/codegen.dart ...
7 years, 3 months ago (2013-08-30 07:56:27 UTC) #2
ahe
Please add more documentation, if so LGTM https://codereview.chromium.org/23766002/diff/3001/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart File sdk/lib/typed_data/dart2js/typed_data_dart2js.dart (right): https://codereview.chromium.org/23766002/diff/3001/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart#newcode78 sdk/lib/typed_data/dart2js/typed_data_dart2js.dart:78: JS('void', r'#.HACK ...
7 years, 3 months ago (2013-08-30 08:08:46 UTC) #3
ngeoffray
Thanks Lars and Peter. https://codereview.chromium.org/23766002/diff/3001/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart File sdk/lib/_internal/compiler/implementation/ssa/codegen.dart (right): https://codereview.chromium.org/23766002/diff/3001/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart#newcode1669 sdk/lib/_internal/compiler/implementation/ssa/codegen.dart:1669: // TODO(...): Remove this custom ...
7 years, 3 months ago (2013-08-30 08:51:33 UTC) #4
ngeoffray
7 years, 3 months ago (2013-08-30 09:17:12 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r26905 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698