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

Issue 16035026: Fix 2 host-checked error with the enqueuer: (Closed)

Created:
7 years, 6 months ago by ngeoffray
Modified:
7 years, 6 months ago
Reviewers:
Johnni Winther, ahe
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix 2 host-checked error with the enqueuer: - Register an exact selector when the target of a call is known at codegen - Set the tree elements of a codegen item when actually needed: annotations are currently being processed during resolution, and enqueue in the codegen queue. So it might happen that when a helper is needed, it has not been resolved yet. R=ahe@google.com Committed: https://code.google.com/p/dart/source/detail?r=23841

Patch Set 1 : #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -81 lines) Patch
M sdk/lib/_internal/compiler/implementation/compiler.dart View 1 2 2 chunks +6 lines, -11 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/enqueue.dart View 1 2 5 chunks +28 lines, -56 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 1 2 3 chunks +1 line, -11 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/codegen.dart View 1 2 1 chunk +11 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/compiler_helper.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
ngeoffray
7 years, 6 months ago (2013-06-11 08:42:17 UTC) #1
ahe
LGTM! https://codereview.chromium.org/16035026/diff/2001/sdk/lib/_internal/compiler/implementation/enqueue.dart File sdk/lib/_internal/compiler/implementation/enqueue.dart (right): https://codereview.chromium.org/16035026/diff/2001/sdk/lib/_internal/compiler/implementation/enqueue.dart#newcode129 sdk/lib/_internal/compiler/implementation/enqueue.dart:129: void addElementToWorkList(Element element); I think it would be ...
7 years, 6 months ago (2013-06-11 08:56:20 UTC) #2
ngeoffray
Thanks Peter. https://codereview.chromium.org/16035026/diff/2001/sdk/lib/_internal/compiler/implementation/enqueue.dart File sdk/lib/_internal/compiler/implementation/enqueue.dart (right): https://codereview.chromium.org/16035026/diff/2001/sdk/lib/_internal/compiler/implementation/enqueue.dart#newcode129 sdk/lib/_internal/compiler/implementation/enqueue.dart:129: void addElementToWorkList(Element element); On 2013/06/11 08:56:20, ahe ...
7 years, 6 months ago (2013-06-11 09:05:14 UTC) #3
ngeoffray
7 years, 6 months ago (2013-06-11 09:10:10 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r23841 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698