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

Issue 2886233002: Remove 'dumpIr' from writeProgram() and KernelTarget. (Closed)

Created:
3 years, 7 months ago by scheglov
Modified:
3 years, 7 months ago
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Remove 'dumpIr' from writeProgram() and KernelTarget. Debug output should be done where clients need it, not in shared code. R=ahe@google.com, paulberry@google.com, sigmund@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/be1f538bf0fcf402955ad850367438c82696d380

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -24 lines) Patch
M pkg/front_end/lib/src/fasta/compile_platform.dart View 2 chunks +4 lines, -3 lines 0 comments Download
M pkg/front_end/lib/src/fasta/fasta.dart View 3 chunks +7 lines, -6 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_target.dart View 3 chunks +1 line, -15 lines 1 comment Download
M pkg/front_end/lib/src/fasta/kernel/utils.dart View 1 chunk +12 lines, -0 lines 1 comment Download

Messages

Total messages: 7 (1 generated)
scheglov
3 years, 7 months ago (2017-05-17 18:28:08 UTC) #1
Siggi Cherem (dart-lang)
lgtm, thanks! I also wanted to pull this out as well. I have a similar ...
3 years, 7 months ago (2017-05-17 18:34:03 UTC) #2
scheglov
On 2017/05/17 18:34:03, Siggi Cherem (dart-lang) wrote: > lgtm, thanks! > > I also wanted ...
3 years, 7 months ago (2017-05-17 18:35:18 UTC) #3
scheglov
Committed patchset #1 (id:1) manually as be1f538bf0fcf402955ad850367438c82696d380 (presubmit successful).
3 years, 7 months ago (2017-05-17 19:06:10 UTC) #5
ahe
--dump-ir is useless now, could you please restore the previous behavior. https://codereview.chromium.org/2886233002/diff/1/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart File pkg/front_end/lib/src/fasta/kernel/kernel_target.dart (left): ...
3 years, 7 months ago (2017-05-22 13:40:18 UTC) #6
scheglov
3 years, 7 months ago (2017-05-22 16:49:17 UTC) #7
Message was sent while issue was closed.
On 2017/05/22 13:40:18, ahe wrote:
> --dump-ir is useless now, could you please restore the previous behavior.
> 
>
https://codereview.chromium.org/2886233002/diff/1/pkg/front_end/lib/src/fasta...
> File pkg/front_end/lib/src/fasta/kernel/kernel_target.dart (left):
> 
>
https://codereview.chromium.org/2886233002/diff/1/pkg/front_end/lib/src/fasta...
> pkg/front_end/lib/src/fasta/kernel/kernel_target.dart:723: for (Library
library
> in loader.libraries) {
> This iterates through the libraries loaded by the source loader.
> 
>
https://codereview.chromium.org/2886233002/diff/1/pkg/front_end/lib/src/fasta...
> File pkg/front_end/lib/src/fasta/kernel/utils.dart (right):
> 
>
https://codereview.chromium.org/2886233002/diff/1/pkg/front_end/lib/src/fasta...
> pkg/front_end/lib/src/fasta/kernel/utils.dart:18: for (Library library in
> program.libraries) {
> This includes all libraries (including platform.dill).

https://codereview.chromium.org/2893233003 should make --dump-ir useful again.

Powered by Google App Engine
This is Rietveld 408576698