Handle v8_context_snapshot in gin/ |
|
Issue descriptionNow we have many code to load snapshot files; #ifdef V8_USE_EXTERNAL_STARTUP LoadV8Snapshot(); #ifdef USE_V8_CONTEXT_SNAPSHOT LoadV8ContextSnapshot(); #endif #endif but now we know that it possible substitute v8_context_snapshot.bin for snapshot_blob.bin. So the above code can be simply #ifdef V8_USE_EXTERNAL_STARTUP LoadV8Snapshot(); #endif and which file to load should be detected in the function LoadV8Snapshot(), depending on USE_V8_CONTEXT_SNAPSHOT. |
|
►
Sign in to add a comment |
|
Comment 1 by peria@chromium.org
, Jan 16 2018