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

Issue 1196433002: Create and test source mapping for invocations. (Closed)

Created:
5 years, 6 months ago by Johnni Winther
Modified:
5 years, 5 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Update comments. #

Total comments: 27

Patch Set 4 : Updated cf. comments. #

Patch Set 5 : Rebased #

Patch Set 6 : Handle the new Name class in the JS Printer. #

Total comments: 6

Patch Set 7 : Updated cf. comments. #

Patch Set 8 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3079 lines, -838 lines) Patch
M pkg/compiler/lib/src/compiler.dart View 1 2 3 4 5 6 7 3 chunks +9 lines, -11 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart View 1 2 3 4 5 6 7 5 chunks +7 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/elements/elements.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/io/code_output.dart View 1 2 chunks +15 lines, -8 lines 0 comments Download
M pkg/compiler/lib/src/io/line_column_provider.dart View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
A pkg/compiler/lib/src/io/position_information.dart View 1 2 3 4 5 6 1 chunk +439 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/io/source_file.dart View 4 chunks +19 lines, -8 lines 0 comments Download
M pkg/compiler/lib/src/io/source_information.dart View 1 2 3 7 chunks +43 lines, -262 lines 0 comments Download
A pkg/compiler/lib/src/io/start_end_information.dart View 1 2 3 1 chunk +232 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js/js.dart View 1 2 chunks +26 lines, -37 lines 0 comments Download
A pkg/compiler/lib/src/js/js_debug.dart View 1 2 3 4 5 1 chunk +65 lines, -0 lines 0 comments Download
A pkg/compiler/lib/src/js/js_source_mapping.dart View 1 2 1 chunk +68 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 1 2 3 4 3 chunks +10 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/codegen/task.dart View 1 2 3 4 4 chunks +4 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/js_backend.dart View 1 2 3 4 5 6 7 1 chunk +9 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/native/ssa.dart View 1 1 chunk +4 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/source_file_provider.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 2 3 4 83 chunks +313 lines, -140 lines 0 comments Download
M pkg/compiler/lib/src/ssa/codegen.dart View 1 2 3 4 69 chunks +343 lines, -230 lines 0 comments Download
M pkg/compiler/lib/src/ssa/nodes.dart View 1 2 3 4 6 chunks +26 lines, -8 lines 0 comments Download
M pkg/compiler/lib/src/tree/prettyprint.dart View 1 chunk +8 lines, -90 lines 0 comments Download
M pkg/compiler/lib/src/use_unused_api.dart View 1 2 3 4 4 chunks +6 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/util/indentation.dart View 1 chunk +93 lines, -0 lines 0 comments Download
M pkg/js_ast/lib/src/printer.dart View 1 2 3 4 5 6 chunks +14 lines, -1 line 0 comments Download
M pkg/js_ast/test/printer_callback_test.dart View 1 2 3 4 5 6 5 chunks +115 lines, -25 lines 0 comments Download
M tests/compiler/dart2js/memory_source_file_helper.dart View 2 chunks +12 lines, -1 line 0 comments Download
M tests/compiler/dart2js/output_collector.dart View 1 chunk +23 lines, -0 lines 0 comments Download
A tests/compiler/dart2js/sourcemaps/colors.dart View 1 2 3 4 5 6 7 1 chunk +89 lines, -0 lines 0 comments Download
A tests/compiler/dart2js/sourcemaps/invokes_test_file.dart View 1 chunk +127 lines, -0 lines 0 comments Download
A tests/compiler/dart2js/sourcemaps/source_mapping_test.dart View 1 2 3 4 5 6 7 1 chunk +51 lines, -0 lines 0 comments Download
A tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart View 1 2 3 1 chunk +331 lines, -0 lines 0 comments Download
A tests/compiler/dart2js/sourcemaps/sourcemap_html_helper.dart View 1 2 3 4 5 6 7 1 chunk +430 lines, -0 lines 0 comments Download
A tests/compiler/dart2js/sourcemaps/sourcemap_html_templates.dart View 1 2 3 4 5 6 7 1 chunk +136 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
Johnni Winther
5 years, 6 months ago (2015-06-24 14:17:56 UTC) #2
floitsch
LGTM. https://codereview.chromium.org/1196433002/diff/40001/pkg/compiler/lib/src/io/position_information.dart File pkg/compiler/lib/src/io/position_information.dart (right): https://codereview.chromium.org/1196433002/diff/40001/pkg/compiler/lib/src/io/position_information.dart#newcode141 pkg/compiler/lib/src/io/position_information.dart:141: null, why does this not have a start-position? ...
5 years, 5 months ago (2015-06-29 08:55:52 UTC) #3
Johnni Winther
https://codereview.chromium.org/1196433002/diff/40001/pkg/compiler/lib/src/io/position_information.dart File pkg/compiler/lib/src/io/position_information.dart (right): https://codereview.chromium.org/1196433002/diff/40001/pkg/compiler/lib/src/io/position_information.dart#newcode141 pkg/compiler/lib/src/io/position_information.dart:141: null, On 2015/06/29 08:55:51, floitsch wrote: > why does ...
5 years, 5 months ago (2015-06-29 12:36:30 UTC) #4
Johnni Winther
PTAL @ the last patch
5 years, 5 months ago (2015-06-29 15:09:48 UTC) #5
floitsch
LGTM. https://codereview.chromium.org/1196433002/diff/100001/pkg/compiler/lib/src/io/position_information.dart File pkg/compiler/lib/src/io/position_information.dart (right): https://codereview.chromium.org/1196433002/diff/100001/pkg/compiler/lib/src/io/position_information.dart#newcode264 pkg/compiler/lib/src/io/position_information.dart:264: /// Associates [sourceInformation] with [node] the code positions ...
5 years, 5 months ago (2015-06-29 16:30:44 UTC) #6
Johnni Winther
https://codereview.chromium.org/1196433002/diff/100001/pkg/compiler/lib/src/io/position_information.dart File pkg/compiler/lib/src/io/position_information.dart (right): https://codereview.chromium.org/1196433002/diff/100001/pkg/compiler/lib/src/io/position_information.dart#newcode264 pkg/compiler/lib/src/io/position_information.dart:264: /// Associates [sourceInformation] with [node] the code positions of ...
5 years, 5 months ago (2015-07-02 08:38:09 UTC) #7
Johnni Winther
Committed patchset #8 (id:140001) manually as 048a4651fe9d6d6ef6a80562b8ec55b2072d9aa3 (presubmit successful).
5 years, 5 months ago (2015-07-02 08:38:58 UTC) #8
Johnni Winther
5 years, 5 months ago (2015-07-02 12:43:05 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/1196433002/diff/100001/pkg/js_ast/test/printe...
File pkg/js_ast/test/printer_callback_test.dart (right):

https://codereview.chromium.org/1196433002/diff/100001/pkg/js_ast/test/printe...
pkg/js_ast/test/printer_callback_test.dart:169: }, const ['foo']),
On 2015/06/29 16:30:44, floitsch wrote:
> maybe give it different names, to make it clearer, that there is a
substitution?

Done.

Powered by Google App Engine
This is Rietveld 408576698