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

Issue 2302363003: No longer store the compilation-context in WorkItem. (Closed)

Created:
4 years, 3 months ago by Siggi Cherem (dart-lang)
Modified:
4 years, 3 months ago
Reviewers:
Harry Terkelsen, sra1
CC:
reviews_dartlang.org, Johnni Winther
Target Ref:
refs/heads/master
Visibility:
Public.

Description

No longer store the compilation-context in WorkItem. This context is pretty local to SSA and just needs to be plumbed from the builder through the optimizers. This way we don't have reference to this context anywhere else in the compiler. R=sra@google.com Committed: https://github.com/dart-lang/sdk/commit/e0c9d843b9bd95d1fe6ab8b7b8fddf4712908df9

Patch Set 1 #

Total comments: 1

Patch Set 2 : ... dartfmt #

Patch Set 3 : remove context altogether: data is passed where needed #

Patch Set 4 : ... lint #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -131 lines) Patch
M pkg/compiler/lib/src/common/backend_api.dart View 2 chunks +0 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/common/codegen.dart View 3 chunks +5 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/common/resolution.dart View 2 chunks +3 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/common/work.dart View 1 chunk +2 lines, -13 lines 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 2 chunks +4 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/enqueue.dart View 6 chunks +3 lines, -9 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 4 chunks +1 line, -12 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/enqueuer.dart View 3 chunks +2 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/serialization/task.dart View 3 chunks +3 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 2 5 chunks +2 lines, -10 lines 0 comments Download
M pkg/compiler/lib/src/ssa/interceptor_simplifier.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/ssa/nodes.dart View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/optimize.dart View 1 2 7 chunks +20 lines, -27 lines 0 comments Download
M pkg/compiler/lib/src/ssa/ssa_tracer.dart View 1 2 3 chunks +3 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/ssa/value_range_analyzer.dart View 1 2 chunks +1 line, -4 lines 0 comments Download
M pkg/compiler/lib/src/tracer.dart View 4 chunks +2 lines, -6 lines 0 comments Download
M tests/compiler/dart2js/compiler_helper.dart View 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
Siggi Cherem (dart-lang)
https://codereview.chromium.org/2302363003/diff/1/pkg/compiler/lib/src/ssa/builder_kernel.dart File pkg/compiler/lib/src/ssa/builder_kernel.dart (right): https://codereview.chromium.org/2302363003/diff/1/pkg/compiler/lib/src/ssa/builder_kernel.dart#newcode37 pkg/compiler/lib/src/ssa/builder_kernel.dart:37: HGraph build(CodegenWorkItem work, SsaCompilationContext context) { not in use ...
4 years, 3 months ago (2016-09-02 22:26:38 UTC) #2
sra1
lgtm
4 years, 3 months ago (2016-09-02 22:36:33 UTC) #3
Siggi Cherem (dart-lang)
... hold on, simplifying further!
4 years, 3 months ago (2016-09-02 22:51:14 UTC) #4
Siggi Cherem (dart-lang)
ok - all set I removed context altogether at this time. Turns out that there ...
4 years, 3 months ago (2016-09-02 23:24:04 UTC) #8
sra1
lgtm
4 years, 3 months ago (2016-09-02 23:32:03 UTC) #9
Siggi Cherem (dart-lang)
4 years, 3 months ago (2016-09-02 23:36:46 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:120001) manually as
e0c9d843b9bd95d1fe6ab8b7b8fddf4712908df9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698