Chromium Code Reviews
DescriptionCreate ElementAnnotation objects prior to resolution.
This is a prerequisite to fixing #25285
(ConstantEvaluationTarget_Annotation consumes too much memory,
shouldn't exist). By creating the ElementAnnotation objects early, we
will be able to refer to them from the ConstantFinder; this will allow
us to use the ElementAnnotation objects as constant evaluation
targets.
Note: there is a small semantic change. Previously, Element.metadata
only contained ElementAnnotation objects for annotations that were
successfully resolved. Now, it contains ElementAnnotation objects for
all annotations.
R=brianwilkerson@google.com
Committed: https://github.com/dart-lang/sdk/commit/3977c9f2274df35df6332a65af9973fd6517bc12
Patch Set 1 #Patch Set 2 : Fix accidental comment change #
Messages
Total messages: 5 (2 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||