Chromium Code Reviews
Descriptiondart2js: restructure emitter.
Collect information before hand, and then emit output units in one go.
First emit the deferred units since we need their hashes in the main unit.
There is still code that collects the output-unit of the emitted element, even though we know that it should/must be in the current output-unit. That code can be cleaned up in a later CL. We should not need to look up the output unit for any element in the old-emitter anymore.
R=johnniwinther@google.com
Committed: https://code.google.com/p/dart/source/detail?r=41142
Patch Set 1 #Patch Set 2 : emitLibraries only. #Patch Set 3 : emitTypedefs only. #Patch Set 4 : emitMangledNames only. #Patch Set 5 : checkEverythingEmitted only. #Patch Set 6 : emitMainOutputUnit only. #Patch Set 7 : emitDeferredOutputUnits only. #Patch Set 8 : buildNativesBuffer only. #Patch Set 9 : Full diff #
Total comments: 8
Patch Set 10 : Address comments. #
Messages
Total messages: 5 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||