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

Issue 1227543008: dart2js cps: Generate direct field accesses a build-time. (Closed)

Created:
5 years, 5 months ago by asgerf
Modified:
5 years, 5 months ago
Reviewers:
karlklose
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js cps: Generate direct field accesses a build-time. The world will refuse to emit getters and setters for field it thinks will be accessed directly. Rewriting getter/setter calls to field accesses must happen at build-time so we do not rely on an optimization for correctness. BUG= R=karlklose@google.com Committed: https://github.com/dart-lang/sdk/commit/11b2ae130731b19ea8c32765d39dc58867d8cdac

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -7 lines) Patch
M pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart View 3 chunks +27 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M tests/co19/co19-dart2js.status View 2 chunks +0 lines, -2 lines 0 comments Download
M tests/compiler/dart2js_native/dart2js_native.status View 1 chunk +0 lines, -1 line 0 comments Download
M tests/language/language_dart2js.status View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 4 (1 generated)
asgerf
5 years, 5 months ago (2015-07-07 13:56:18 UTC) #2
karlklose
LGTM.
5 years, 5 months ago (2015-07-07 14:02:13 UTC) #3
asgerf
5 years, 5 months ago (2015-07-07 14:17:40 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
11b2ae130731b19ea8c32765d39dc58867d8cdac (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698