Description[kernel] Change how TypeParameterType is calculated.
Prior to this CL we carried around information about the containing class
and member, both of which was fetched by reading out-of-line in the binary
(i.e. while reading the current member, start reading something from the
parent member etc).
It had also required the introduction of extra fields in the kernel
binary file (dill file).
This CL cleans that up, by
a) Setting type parameters on functions as needed (in kernel_reader.cc)
b) Using the VM Class and VM Function to get the required information
(with a above the information is all available).
(in kernel_binary_flowgraph.cc.) This means that
c) We don't have to read the binary out-of-line (for TypeParameterType
to work at least), and that
d) We can remove the previously introduced extra fields from the
kernel binary file (dill file).
R=dmitryas@google.com, kmillikin@google.com
Committed: https://github.com/dart-lang/sdk/commit/fb745e6e1ba41ebdba74e3bc507ebb18651e0ad0
Patch Set 1 #
Total comments: 3
Patch Set 2 : Rebased #
Total comments: 20
Patch Set 3 : Review comments #Patch Set 4 : longjmp instead of UNREACHABLE (+ rebase) #
Messages
Total messages: 9 (3 generated)
|