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

Issue 1617083002: Base JavaScript code position computation on JavaScript tracer. (Closed)

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

Description

Base JavaScript code position computation on JavaScript tracer. Trace computation added in position_information.dart Diff view tool added in diff_view.dart that utilizes the new computation and show coverage stats. R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/e333e631f32dfcdcbf81d663f6bfadf1d5edef7f

Patch Set 1 #

Total comments: 39

Patch Set 2 : Updated cf. comments #

Total comments: 6

Patch Set 3 : Updated cf. comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2700 lines, -329 lines) Patch
M pkg/compiler/lib/src/compiler.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/dump_info.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/io/code_output.dart View 1 chunk +5 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/io/position_information.dart View 1 2 4 chunks +874 lines, -153 lines 0 comments Download
M pkg/compiler/lib/src/io/source_information.dart View 1 2 chunks +8 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/io/start_end_information.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js/js.dart View 1 3 chunks +28 lines, -10 lines 0 comments Download
M pkg/compiler/lib/src/js/js_debug.dart View 1 4 chunks +15 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/js/js_source_mapping.dart View 2 chunks +5 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 1 5 chunks +11 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/js_backend.dart View 1 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/namer_names.dart View 1 chunk +6 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart View 1 3 chunks +5 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/lazy_emitter/model_emitter.dart View 1 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/metadata_collector.dart View 1 1 chunk +2 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/startup_emitter/model_emitter.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/js_ast/lib/src/nodes.dart View 2 chunks +4 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/cps_ir/runner.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_source_information_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/js_parser_statements_test.dart View 1 1 chunk +1 line, -2 lines 0 comments Download
M tests/compiler/dart2js/js_parser_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
A tests/compiler/dart2js/sourcemaps/diff_view.dart View 1 1 chunk +871 lines, -0 lines 0 comments Download
A tests/compiler/dart2js/sourcemaps/js_tracer.dart View 1 1 chunk +138 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart View 1 10 chunks +300 lines, -40 lines 0 comments Download
M tests/compiler/dart2js/sourcemaps/sourcemap_html_helper.dart View 12 chunks +356 lines, -87 lines 0 comments Download
A tests/compiler/dart2js/sourcemaps/trace_graph.dart View 1 1 chunk +54 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/type_representation_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (4 generated)
Johnni Winther
4 years, 11 months ago (2016-01-21 15:41:49 UTC) #3
sra1
DBC https://codereview.chromium.org/1617083002/diff/1/pkg/compiler/lib/src/io/position_information.dart File pkg/compiler/lib/src/io/position_information.dart (right): https://codereview.chromium.org/1617083002/diff/1/pkg/compiler/lib/src/io/position_information.dart#newcode133 pkg/compiler/lib/src/io/position_information.dart:133: /// Marker used to tag the root nodes ...
4 years, 11 months ago (2016-01-21 15:52:14 UTC) #5
Siggi Cherem (dart-lang)
I'm curious - how far along is the new source-info in ssa, can we turn ...
4 years, 11 months ago (2016-01-21 18:18:35 UTC) #6
Johnni Winther
On 2016/01/21 18:18:35, Siggi Cherem (dart-lang) wrote: > I'm curious - how far along is ...
4 years, 11 months ago (2016-01-21 21:52:26 UTC) #7
Johnni Winther
https://codereview.chromium.org/1617083002/diff/1/pkg/compiler/lib/src/io/position_information.dart File pkg/compiler/lib/src/io/position_information.dart (right): https://codereview.chromium.org/1617083002/diff/1/pkg/compiler/lib/src/io/position_information.dart#newcode107 pkg/compiler/lib/src/io/position_information.dart:107: Coverage coverage; On 2016/01/21 18:18:34, Siggi Cherem (dart-lang) wrote: ...
4 years, 11 months ago (2016-01-22 15:12:39 UTC) #8
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/1617083002/diff/20001/pkg/compiler/lib/src/io/position_information.dart File pkg/compiler/lib/src/io/position_information.dart (right): https://codereview.chromium.org/1617083002/diff/20001/pkg/compiler/lib/src/io/position_information.dart#newcode561 pkg/compiler/lib/src/io/position_information.dart:561: /// [subexpressionOffset] where offset by the execution order ...
4 years, 11 months ago (2016-01-22 19:32:58 UTC) #9
Johnni Winther
https://codereview.chromium.org/1617083002/diff/20001/pkg/compiler/lib/src/io/position_information.dart File pkg/compiler/lib/src/io/position_information.dart (right): https://codereview.chromium.org/1617083002/diff/20001/pkg/compiler/lib/src/io/position_information.dart#newcode561 pkg/compiler/lib/src/io/position_information.dart:561: /// [subexpressionOffset] where offset by the execution order are ...
4 years, 11 months ago (2016-01-25 09:58:55 UTC) #10
Johnni Winther
4 years, 11 months ago (2016-01-25 09:59:02 UTC) #11
Johnni Winther
4 years, 11 months ago (2016-01-25 10:17:33 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
e333e631f32dfcdcbf81d663f6bfadf1d5edef7f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698