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

Issue 1575953005: Source position tests for switch and try catch finally (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 position tests for switch and try catch finally - Give AwaitMarkerNode a token position. - Make it possible to provide a token position for SaveContext, RestoreContext, StoreContext, and CurrentContext. - Pass in a token position to internally generated StoreLocal and LoadLocal instructions for try-catch-finally. - Introduce a Context ClassifyingTokenPosition to be used when we can't attribute a context related instruction to a source position. R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/bda2b3d2ff3b6622e7d304b40a2bdb2ff4fab640

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -43 lines) Patch
M runtime/vm/ast.h View 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/vm/ast_transformer.cc View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_builder.h View 1 chunk +6 lines, -4 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 15 chunks +45 lines, -32 lines 0 comments Download
M runtime/vm/flow_graph_builder_test.cc View 1 chunk +94 lines, -0 lines 2 comments Download
M runtime/vm/intermediate_language.h View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/parser.cc View 3 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Cutch
4 years, 11 months ago (2016-01-12 22:15:46 UTC) #3
rmacnak
lgtm https://codereview.chromium.org/1575953005/diff/1/runtime/vm/flow_graph_builder_test.cc File runtime/vm/flow_graph_builder_test.cc (right): https://codereview.chromium.org/1575953005/diff/1/runtime/vm/flow_graph_builder_test.cc#newcode601 runtime/vm/flow_graph_builder_test.cc:601: spt.InstanceCallAt(6, 10, Token::kEQ); // '1' '1' => '2'
4 years, 11 months ago (2016-01-12 22:59:21 UTC) #4
Cutch
https://codereview.chromium.org/1575953005/diff/1/runtime/vm/flow_graph_builder_test.cc File runtime/vm/flow_graph_builder_test.cc (right): https://codereview.chromium.org/1575953005/diff/1/runtime/vm/flow_graph_builder_test.cc#newcode601 runtime/vm/flow_graph_builder_test.cc:601: spt.InstanceCallAt(6, 10, Token::kEQ); // '1' On 2016/01/12 22:59:21, rmacnak ...
4 years, 11 months ago (2016-01-12 23:02:15 UTC) #5
Cutch
4 years, 11 months ago (2016-01-12 23:02:40 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
bda2b3d2ff3b6622e7d304b40a2bdb2ff4fab640 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698