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

Issue 1394483002: Do not emit type metadata for classes that are only emitted for rti. (Closed)

Created:
5 years, 2 months ago by herhut
Modified:
5 years, 2 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Do not emit type metadata for classes that are only emitted for rti. Classes only emitted for rti are empty shells and, even if they are marked as reflectable, are not otherwise referenced from the program. So we should not try to emit type metatdata because it is neither needed for is it always complete (as most of the class, including its type variables, is missing). Fixes #24493. BUG= http://dartbug.com/24493 R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/80aa2a4cc0cb3a83833c74119f28d0c6ec53fed3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
herhut
5 years, 2 months ago (2015-10-07 13:12:26 UTC) #2
Siggi Cherem (dart-lang)
lgtm Question though: what is the namer's invariant that we are breaking by including classes ...
5 years, 2 months ago (2015-10-07 15:27:36 UTC) #3
Siggi Cherem (dart-lang)
and thanks for taking a look!
5 years, 2 months ago (2015-10-07 15:28:15 UTC) #4
herhut
On 2015/10/07 15:28:15, Siggi Cherem (dart-lang) wrote: > and thanks for taking a look! The ...
5 years, 2 months ago (2015-10-07 15:36:00 UTC) #5
herhut
5 years, 2 months ago (2015-10-07 15:38:55 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
80aa2a4cc0cb3a83833c74119f28d0c6ec53fed3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698