Chromium Code Reviews
Description[kernel] Use helper functions to minimize assumptions about dill layout.
Attempt to use the helper functions to minimize the number of places
that would need updating should the binary file (the dill file) layout
change.
The changed code (in FieldHelper) makes assumptions about the layout of
the FunctionNode. Instead use FunctionNodeHelper to get the wanted data.
Also replaced an unconditional read-and-go-back with the usage of
AlternativeReadingScope.
BUG=
R=sivachandra@google.com
Committed: https://github.com/dart-lang/sdk/commit/fdd465e54062b1a19028cc5590c12d19f32e7c77
Patch Set 1 #
Messages
Total messages: 6 (3 generated)
|
|||||||||||||||||||