DescriptionSerializer: simplify external reference encoding.
External references are encoded as a tuple of type and ID. This
requires both the external reference encode and the decoder to
create a mapping between the encoding and the external reference
table index.
Instead, we simply use the external reference table index as
encoding.
We now also assume that there are no duplicate entries. Existing
duplicates have been removed in this change.
R=vogelheim@chromium.org
Committed: https://crrev.com/a8e82da6a57ea00414dbf6a3f4341c08c5ed1705
Cr-Commit-Position: refs/heads/master@{#27033}
Patch Set 1 #Patch Set 2 : magic number now contains number of external references #Patch Set 3 : fix cctest #Patch Set 4 : use unsigned #Patch Set 5 : check for magic number after isolate has been initialized. #Patch Set 6 : small fix #Patch Set 7 : rebase #
Messages
Total messages: 17 (6 generated)
|