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

Issue 22916006: Move the begin token of explicit functions to the start of the function declaration. (Closed)

Created:
7 years, 4 months ago by Michael Lippautz (Google)
Modified:
7 years, 4 months ago
Reviewers:
hausner, siva, Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Move the begin token (token_pos) of explicit functions to the start of the function declaration. This fixes setting the breakpoints when the signature of function declarations is spread across multiple lines. Example: int get foo => 42; BUG= R=hausner@google.com Committed: https://code.google.com/p/dart/source/detail?r=26080

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Rebase + hoist out func check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -228 lines) Patch
M runtime/vm/flow_graph_builder.h View 1 chunk +15 lines, -15 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 1 chunk +93 lines, -93 lines 0 comments Download
M runtime/vm/intrinsifier.h View 1 chunk +92 lines, -92 lines 0 comments Download
M runtime/vm/object_test.cc View 1 2 3 3 chunks +57 lines, -22 lines 0 comments Download
M runtime/vm/parser.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 3 12 chunks +35 lines, -6 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Michael Lippautz (Google)
7 years, 4 months ago (2013-08-13 00:54:11 UTC) #1
hausner
Good start, but not quite there yet I think. You have some cases that are ...
7 years, 4 months ago (2013-08-13 15:40:11 UTC) #2
Michael Lippautz (Google)
https://codereview.chromium.org/22916006/diff/3001/runtime/vm/object_test.cc File runtime/vm/object_test.cc (right): https://codereview.chromium.org/22916006/diff/3001/runtime/vm/object_test.cc#newcode3336 runtime/vm/object_test.cc:3336: " static void test1(int a) {\n" On 2013/08/13 15:40:11, ...
7 years, 4 months ago (2013-08-13 18:07:34 UTC) #3
hausner
lgtm https://codereview.chromium.org/22916006/diff/9001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/22916006/diff/9001/runtime/vm/parser.cc#newcode10051 runtime/vm/parser.cc:10051: if (func.IsImplicitConstructor()) return; On 2013/08/13 18:07:35, Michael Lippautz ...
7 years, 4 months ago (2013-08-13 19:29:52 UTC) #4
Michael Lippautz (Google)
7 years, 4 months ago (2013-08-13 20:11:31 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 manually as r26080 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698