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

Issue 2955923002: [vm] Fix reading a named reference to a top-level class. (Closed)

Created:
3 years, 5 months ago by rmacnak
Modified:
3 years, 5 months ago
Reviewers:
regis, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[vm] Fix reading a named reference to a top-level class. R=regis@google.com Committed: https://github.com/dart-lang/sdk/commit/bb621fdf5ab4a23a36eca1fdee5e83c1e549bba7

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M runtime/vm/snapshot.cc View 1 chunk +5 lines, -1 line 2 comments Download

Messages

Total messages: 7 (2 generated)
rmacnak
3 years, 5 months ago (2017-06-26 20:30:31 UTC) #2
regis
LGTM
3 years, 5 months ago (2017-06-26 20:30:49 UTC) #3
rmacnak
Committed patchset #1 (id:1) manually as bb621fdf5ab4a23a36eca1fdee5e83c1e549bba7 (presubmit successful).
3 years, 5 months ago (2017-06-26 20:34:13 UTC) #5
siva
lgtm https://codereview.chromium.org/2955923002/diff/1/runtime/vm/snapshot.cc File runtime/vm/snapshot.cc (right): https://codereview.chromium.org/2955923002/diff/1/runtime/vm/snapshot.cc#newcode282 runtime/vm/snapshot.cc:282: cls = library_.LookupClassAllowPrivate(str_); Would it be beneficial to ...
3 years, 5 months ago (2017-06-26 20:36:45 UTC) #6
rmacnak
3 years, 5 months ago (2017-06-26 20:51:45 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/2955923002/diff/1/runtime/vm/snapshot.cc
File runtime/vm/snapshot.cc (right):

https://codereview.chromium.org/2955923002/diff/1/runtime/vm/snapshot.cc#newc...
runtime/vm/snapshot.cc:282: cls = library_.LookupClassAllowPrivate(str_);
On 2017/06/26 20:36:45, siva wrote:
> Would it be beneficial to add this login into LookupClassAllowPrivate itself?

I'm not sure. I don't think we can generally treat library-level lookups as
equivalent to lookups in the corresponding top-level class (I dimly recall that
some top-level members are only added to the library's dictionary and not the
top-level class), so I suspect they usually have to be special-cased anyway.

Powered by Google App Engine
This is Rietveld 408576698