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

Issue 838643002: dart2js: Register constants in the model builder. (Closed)

Created:
5 years, 11 months ago by floitsch
Modified:
5 years, 11 months ago
Reviewers:
zarah
CC:
reviews_dartlang.org, kasperl
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

dart2js: Register constants in the model builder. We need to make sure that constants are registered, as otherwise output units that only contain constants aren't generated. R=zarah@google.com Committed: https://code.google.com/p/dart/source/detail?r=42743

Patch Set 1 #

Total comments: 2

Patch Set 2 : Cache main-unit access. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -7 lines) Patch
M pkg/compiler/lib/src/js_emitter/program_builder.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/registry.dart View 1 3 chunks +23 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
floitsch
5 years, 11 months ago (2015-01-07 17:02:19 UTC) #2
zarah
LGTM https://codereview.chromium.org/838643002/diff/1/pkg/compiler/lib/src/js_emitter/registry.dart File pkg/compiler/lib/src/js_emitter/registry.dart (right): https://codereview.chromium.org/838643002/diff/1/pkg/compiler/lib/src/js_emitter/registry.dart#newcode85 pkg/compiler/lib/src/js_emitter/registry.dart:85: if (targetUnit == _mainOutputUnit) return mainFragment; Shouldn't _lastOutputUnit ...
5 years, 11 months ago (2015-01-09 08:39:20 UTC) #3
floitsch
https://codereview.chromium.org/838643002/diff/1/pkg/compiler/lib/src/js_emitter/registry.dart File pkg/compiler/lib/src/js_emitter/registry.dart (right): https://codereview.chromium.org/838643002/diff/1/pkg/compiler/lib/src/js_emitter/registry.dart#newcode85 pkg/compiler/lib/src/js_emitter/registry.dart:85: if (targetUnit == _mainOutputUnit) return mainFragment; On 2015/01/09 08:39:19, ...
5 years, 11 months ago (2015-01-09 17:21:50 UTC) #4
floitsch
5 years, 11 months ago (2015-01-09 17:22:50 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 42743 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698