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

Issue 1589643002: Source positions for constructors and lots of async machinery (Closed)

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

Description

Source positions for constructors and lots of async machinery - Rework token position address space. - Use ClassifyingTokenPositions::kMethodExtractor for the token position of a method extractor. - Plumb token positions through all of Ast Transformer. - Plumb token positions for temporary expressions, etc in Flow Graph Builder. - Add token positions for parts of the await machinery. - Move ClassifyingTokenPositions into token.h. - Remove default token position of Scanner::kNoSourcePos for many IR instructions. - A couple of unit tests. - Use synthetic token positions for synthetic AstNodes. - Fix SLEB128 encoding / decoding + test - s/Scanner::kNoSourcePos/Token::kNoSourcePos. - Remove >= 0 and < 0 checks against token positions and use helpers instead. R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/77101d63e3c661957b7829dd96d6b4324da0e768

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+930 lines, -574 lines) Patch
M runtime/lib/mirrors.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/observatory/tests/service/coverage_test.dart View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/observatory/tests/service/test_helper.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/vm/ast.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/ast_printer_test.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/ast_test.cc View 1 2 3 4 5 6 7 3 chunks +7 lines, -7 lines 0 comments Download
M runtime/vm/ast_transformer.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/ast_transformer.cc View 1 2 3 4 5 6 7 26 chunks +79 lines, -71 lines 0 comments Download
M runtime/vm/class_finalizer_test.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/code_descriptors_test.cc View 1 2 3 4 5 6 7 2 chunks +49 lines, -1 line 0 comments Download
M runtime/vm/code_patcher_arm64_test.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/code_patcher_arm_test.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/code_patcher_ia32_test.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/code_patcher_mips_test.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/code_patcher_x64_test.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/debugger.cc View 1 2 3 4 5 6 7 17 chunks +32 lines, -21 lines 0 comments Download
M runtime/vm/debugger_api_impl.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_builder.h View 4 chunks +12 lines, -10 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 3 4 5 6 7 8 82 chunks +201 lines, -162 lines 0 comments Download
M runtime/vm/flow_graph_builder_test.cc View 1 2 3 4 5 6 7 15 chunks +148 lines, -5 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_arm64.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/globals.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 5 6 7 5 chunks +4 lines, -45 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/intrinsifier.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 7 8 20 chunks +27 lines, -24 lines 0 comments Download
M runtime/vm/object_test.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 3 4 5 6 7 8 60 chunks +154 lines, -150 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -3 lines 0 comments Download
M runtime/vm/regexp_assembler_ir.cc View 1 2 3 4 5 6 7 4 chunks +5 lines, -5 lines 0 comments Download
M runtime/vm/runtime_entry.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/scanner.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -7 lines 0 comments Download
M runtime/vm/scopes.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/scopes_test.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -5 lines 0 comments Download
M runtime/vm/stub_code_arm64_test.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/stub_code_arm_test.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/stub_code_ia32_test.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/stub_code_mips_test.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/stub_code_x64_test.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/token.h View 1 2 3 4 5 6 7 4 chunks +120 lines, -2 lines 0 comments Download
M runtime/vm/token.cc View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
Cutch
4 years, 11 months ago (2016-01-13 23:33:37 UTC) #3
rmacnak
https://codereview.chromium.org/1589643002/diff/20001/runtime/vm/flow_graph_builder_test.cc File runtime/vm/flow_graph_builder_test.cc (right): https://codereview.chromium.org/1589643002/diff/20001/runtime/vm/flow_graph_builder_test.cc#newcode99 runtime/vm/flow_graph_builder_test.cc:99: void InstanceCallAt(intptr_t line, Nit: the argument order here is ...
4 years, 11 months ago (2016-01-14 00:28:08 UTC) #4
Cutch
https://codereview.chromium.org/1589643002/diff/20001/runtime/vm/flow_graph_builder_test.cc File runtime/vm/flow_graph_builder_test.cc (right): https://codereview.chromium.org/1589643002/diff/20001/runtime/vm/flow_graph_builder_test.cc#newcode99 runtime/vm/flow_graph_builder_test.cc:99: void InstanceCallAt(intptr_t line, On 2016/01/14 00:28:08, rmacnak wrote: > ...
4 years, 11 months ago (2016-01-14 15:25:10 UTC) #5
Cutch
I'm now stuck because precompilation and smart async stepping has been broken by this CL: ...
4 years, 11 months ago (2016-01-14 16:55:30 UTC) #7
rmacnak
LGTM
4 years, 11 months ago (2016-01-19 22:52:05 UTC) #12
Cutch
4 years, 11 months ago (2016-01-19 23:01:15 UTC) #14
Message was sent while issue was closed.
Committed patchset #9 (id:160001) manually as
77101d63e3c661957b7829dd96d6b4324da0e768 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698