DescriptionSave the native name on the function instead of finding it in the token stream to resolve lazily-linked natives. Drop token streams from precompiled snapshots.
dart2js ARM -7.0% size
Before
VMIsolate(CodeSize): 4663679
Isolate(CodeSize): 11970519
Instructions(CodeSize): 12904384
Total(CodeSize): 29538582
After
VMIsolate(CodeSize): 2611555
Isolate(CodeSize): 11965825
Instructions(CodeSize): 12906464
Total(CodeSize): 27483844
BUG=
R=asiva@google.com
Committed: https://github.com/dart-lang/sdk/commit/8be0d4aca16feed4edded4d03b95723f7daa879f
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 2
Patch Set 4 : #
Total comments: 6
Patch Set 5 : #Patch Set 6 : #
Messages
Total messages: 10 (2 generated)
|