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

Issue 24359005: Make Script::GetTokenLocation() and Script::TokenRangeAtLine() use token streams where possible. (Closed)

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

Description

Make Script::GetTokenLocation() and Script::TokenRangeAtLine() use token streams where possible. BUG= R=hausner@google.com, iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=27786

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -86 lines) Patch
M runtime/vm/object.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 2 chunks +61 lines, -17 lines 0 comments Download
M runtime/vm/object_test.cc View 1 2 1 chunk +28 lines, -2 lines 0 comments Download
M runtime/vm/scanner.h View 1 chunk +0 lines, -9 lines 0 comments Download
M runtime/vm/scanner.cc View 1 chunk +0 lines, -35 lines 0 comments Download
M runtime/vm/scanner_test.cc View 2 chunks +0 lines, -23 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Michael Lippautz (Google)
Scanner::TokenRangeAtLine() becomes dead code, so we could remove it.
7 years, 2 months ago (2013-09-23 18:26:34 UTC) #1
hausner
LGTM with comments. Food for thought: would it make sense to add line numbers to ...
7 years, 2 months ago (2013-09-23 18:54:49 UTC) #2
Michael Lippautz (Google)
PTAL Had to add a bit of code to get TokenRangeAtLine() compatible with the expected ...
7 years, 2 months ago (2013-09-23 21:15:03 UTC) #3
hausner
LGTM with small nit. https://codereview.chromium.org/24359005/diff/10001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/24359005/diff/10001/runtime/vm/object.cc#newcode6415 runtime/vm/object.cc:6415: // End of token stream ...
7 years, 2 months ago (2013-09-23 22:19:36 UTC) #4
Ivan Posva
LGTM after addressing the line down counter. -Ivan https://codereview.chromium.org/24359005/diff/10001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/24359005/diff/10001/runtime/vm/object.cc#newcode6371 runtime/vm/object.cc:6371: intptr_t ...
7 years, 2 months ago (2013-09-23 22:53:34 UTC) #5
Michael Lippautz (Google)
https://codereview.chromium.org/24359005/diff/10001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/24359005/diff/10001/runtime/vm/object.cc#newcode6371 runtime/vm/object.cc:6371: intptr_t relative_line = 1; On 2013/09/23 22:53:34, Ivan Posva ...
7 years, 2 months ago (2013-09-23 23:24:00 UTC) #6
Michael Lippautz (Google)
7 years, 2 months ago (2013-09-23 23:25:06 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r27786 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698