Description[Bindings] Emit less code per member in generated dictionary ToV8.
Currently, we emit two invocations of CreateDataProperty for members
that are defaulted or nullable. Since the invocation and handling is
identical in all cases where we store a value, we can emit the code to
do so just once.
This reduces Android APK size by 16 KiB. The difference in specific
symbols is can be fairly dramatic, with code size of conversion methods
reduced by up to 35%.
Review-Url: https://codereview.chromium.org/2755323002
Cr-Commit-Position: refs/heads/master@{#457998}
Committed: https://chromium.googlesource.com/chromium/src/+/0ff10ccfef86c660f344077896fb93ebea341ec8
Patch Set 1 #
Messages
Total messages: 16 (12 generated)
|