Reviewers: jochen, Sven Panne,
Message:
Next steps would be:
1, add a variable to gyp files to generate raw files.
2, add logic in Chromium to (statically) use these.
3, put the runtime part of mksnapshot behind an API
(essentially, rip out SnapshotWriter), so this can
(optionally) be done at runtime.
Description:
Implement --omit, --raw_[context_]file=... for mksnapshot tool.
These switches are analogous to --omit and --raw for js2c.py.
The goal it to allow embedders to externally load all (or generate) the V8
startup data.
There's a bit of gratuitous refactoring with the writing logic that helped
me
understand the code. Let me know if it's not an improvement.
BUG=355539
LOG=N
Please review this at https://codereview.chromium.org/249283002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+157, -156 lines):
M src/flag-definitions.h
M src/mksnapshot.cc
M src/serialize.h
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.