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

Issue 2511883002: VM: [Kernel] Relax assertion in Script::GetTokenLocation(). (Closed)

Created:
4 years, 1 month ago by Vyacheslav Egorov (Google)
Modified:
4 years, 1 month ago
Reviewers:
rmacnak, kustermann
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: [Kernel] Relax assertion in Script::GetTokenLocation(). Kernel binaries do not carry token streams. Introduce a dummy URI to identify dummy Script objects created for Kernel entities. R=rmacnak@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/30e01bcd675c8be01237fe66f65f5c3c5c0b62a6

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -11 lines) Patch
M runtime/vm/kernel_reader.cc View 3 chunks +9 lines, -9 lines 4 comments Download
M runtime/vm/object.cc View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/symbols.h View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Vyacheslav Egorov (Google)
4 years, 1 month ago (2016-11-17 19:37:28 UTC) #1
rmacnak
lgtm https://codereview.chromium.org/2511883002/diff/1/runtime/vm/kernel_reader.cc File runtime/vm/kernel_reader.cc (right): https://codereview.chromium.org/2511883002/diff/1/runtime/vm/kernel_reader.cc#newcode166 runtime/vm/kernel_reader.cc:166: H.DartString(""), RawScript::kScriptTag)); There's a Symbols::Empty() btw.
4 years, 1 month ago (2016-11-17 20:13:31 UTC) #2
kustermann
https://codereview.chromium.org/2511883002/diff/1/runtime/vm/kernel_reader.cc File runtime/vm/kernel_reader.cc (right): https://codereview.chromium.org/2511883002/diff/1/runtime/vm/kernel_reader.cc#newcode163 runtime/vm/kernel_reader.cc:163: // TODO(27590): Figure out why we need this script ...
4 years, 1 month ago (2016-11-18 09:45:51 UTC) #4
Vyacheslav Egorov (Google)
Thanks https://codereview.chromium.org/2511883002/diff/1/runtime/vm/kernel_reader.cc File runtime/vm/kernel_reader.cc (right): https://codereview.chromium.org/2511883002/diff/1/runtime/vm/kernel_reader.cc#newcode163 runtime/vm/kernel_reader.cc:163: // TODO(27590): Figure out why we need this ...
4 years, 1 month ago (2016-11-18 14:49:46 UTC) #5
Vyacheslav Egorov (Google)
4 years, 1 month ago (2016-11-18 14:58:20 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
30e01bcd675c8be01237fe66f65f5c3c5c0b62a6 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698