• yangguo's avatar
    [snapshot] encode resource before serializing. · 7a8d20a7
    yangguo authored
    Before serializing an external string for a native source, we replace
    its resource field with the type and index of the native source. Upon
    deserialization, we restore the resource.
    
    This change also removes the native source caches with a more straight-
    forward mechanism to find the resource type and index.
    
    R=ulan@chromium.org
    
    Review-Url: https://codereview.chromium.org/2807023003
    Cr-Commit-Position: refs/heads/master@{#44545}
    7a8d20a7
Name
Last commit
Last update
..
DEPS Loading commit data...
OWNERS Loading commit data...
code-serializer.cc Loading commit data...
code-serializer.h Loading commit data...
deserializer.cc Loading commit data...
deserializer.h Loading commit data...
mksnapshot.cc Loading commit data...
natives-common.cc Loading commit data...
natives-external.cc Loading commit data...
natives.h Loading commit data...
partial-serializer.cc Loading commit data...
partial-serializer.h Loading commit data...
serializer-common.cc Loading commit data...
serializer-common.h Loading commit data...
serializer.cc Loading commit data...
serializer.h Loading commit data...
snapshot-common.cc Loading commit data...
snapshot-empty.cc Loading commit data...
snapshot-external.cc Loading commit data...
snapshot-source-sink.cc Loading commit data...
snapshot-source-sink.h Loading commit data...
snapshot.h Loading commit data...
startup-serializer.cc Loading commit data...
startup-serializer.h Loading commit data...