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

Issue 1566553003: More 0 => Scanner::kNoSourcePos. (Closed)

Created:
4 years, 11 months ago by rmacnak
Modified:
4 years, 11 months ago
Reviewers:
Cutch, hausner
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

More 0 => Scanner::kNoSourcePos. Arguably method extractors, invoke-field dispatchers and noSuchMethod dispatchers should also have their token position as kNoSourcePos instead of 0, but this would complicate how parser initializes its token iterator, so I'm leaving them as is. R=hausner@google.com, johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/c4480b6dedb5eca7d72da4198267001c8bea5cdf

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -20 lines) Patch
M runtime/vm/object.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 14 chunks +17 lines, -17 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
rmacnak
4 years, 11 months ago (2016-01-06 18:25:02 UTC) #2
Cutch
lgtm but wait for Matthias
4 years, 11 months ago (2016-01-06 18:28:04 UTC) #3
hausner
LGTM Personally, I like >= 0 better than != kNoSourcePos. https://codereview.chromium.org/1566553003/diff/20001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/1566553003/diff/20001/runtime/vm/parser.cc#newcode4007 ...
4 years, 11 months ago (2016-01-06 18:42:35 UTC) #4
rmacnak
https://codereview.chromium.org/1566553003/diff/20001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/1566553003/diff/20001/runtime/vm/parser.cc#newcode4007 runtime/vm/parser.cc:4007: if (FLAG_enable_mirrors && (method->metadata_pos != Scanner::kNoSourcePos)) { On 2016/01/06 ...
4 years, 11 months ago (2016-01-06 19:08:08 UTC) #5
rmacnak
4 years, 11 months ago (2016-01-06 19:12:07 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
c4480b6dedb5eca7d72da4198267001c8bea5cdf (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698