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

Issue 1081313003: Improve precision of JS printer callbacks (2nd try) (Closed)

Created:
5 years, 8 months ago by Johnni Winther
Modified:
5 years, 8 months ago
Reviewers:
floitsch, sra1
CC:
reviews_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Improve precision of JS printer callbacks (2nd try) BUG= R=floitsch@google.com, sra@google.com Committed: https://code.google.com/p/dart/source/detail?r=45164

Patch Set 1 #

Patch Set 2 : Cleanup. #

Total comments: 15

Patch Set 3 : Updated cf. comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+456 lines, -196 lines) Patch
M pkg/compiler/lib/src/dump_info.dart View 1 2 3 chunks +3 lines, -27 lines 0 comments Download
M pkg/compiler/lib/src/io/code_output.dart View 1 5 chunks +19 lines, -43 lines 0 comments Download
M pkg/compiler/lib/src/io/source_information.dart View 1 3 chunks +8 lines, -24 lines 0 comments Download
M pkg/compiler/lib/src/js/js.dart View 1 2 2 chunks +23 lines, -6 lines 0 comments Download
M pkg/js_ast/lib/src/printer.dart View 1 2 45 chunks +242 lines, -96 lines 0 comments Download
A pkg/js_ast/test/printer_callback_test.dart View 1 1 chunk +161 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Johnni Winther
5 years, 8 months ago (2015-04-14 13:01:25 UTC) #2
floitsch
LGTM, but wait for Stephen. (And I only skimmed a few parts). https://codereview.chromium.org/1081313003/diff/20001/pkg/compiler/lib/src/dump_info.dart File pkg/compiler/lib/src/dump_info.dart ...
5 years, 8 months ago (2015-04-14 15:09:31 UTC) #3
sra1
LGTM provided the O(N^2) issue is fixed for a+1+1+1....+1 https://codereview.chromium.org/1081313003/diff/20001/pkg/js_ast/lib/src/printer.dart File pkg/js_ast/lib/src/printer.dart (right): https://codereview.chromium.org/1081313003/diff/20001/pkg/js_ast/lib/src/printer.dart#newcode191 pkg/js_ast/lib/src/printer.dart:191: ...
5 years, 8 months ago (2015-04-14 19:14:00 UTC) #4
sra1
https://chromiumcodereview.appspot.com/1081313003/diff/20001/pkg/js_ast/lib/src/printer.dart File pkg/js_ast/lib/src/printer.dart (right): https://chromiumcodereview.appspot.com/1081313003/diff/20001/pkg/js_ast/lib/src/printer.dart#newcode46 pkg/js_ast/lib/src/printer.dart:46: int delimiterPosition) {} Perhaps call this 'closingPosition' (throughout) 'delimiter' ...
5 years, 8 months ago (2015-04-14 21:54:45 UTC) #5
Johnni Winther
https://codereview.chromium.org/1081313003/diff/20001/pkg/compiler/lib/src/dump_info.dart File pkg/compiler/lib/src/dump_info.dart (right): https://codereview.chromium.org/1081313003/diff/20001/pkg/compiler/lib/src/dump_info.dart#newcode486 pkg/compiler/lib/src/dump_info.dart:486: void recordAstSize(jsAst.Node code, int size) { On 2015/04/14 15:09:31, ...
5 years, 8 months ago (2015-04-15 11:15:28 UTC) #6
Johnni Winther
5 years, 8 months ago (2015-04-15 12:09:53 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 45164 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698