Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Issue 249283002: Implement --omit, --raw_[context_]file=... for mksnapshot tool. (Closed)

Created:
6 years, 8 months ago by vogelheim
Modified:
6 years, 8 months ago
CC:
v8-dev
Visibility:
Public.

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 R=jochen@chromium.org, svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=20941

Patch Set 1 : #

Total comments: 7

Patch Set 2 : address feedback #

Patch Set 3 : address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -153 lines) Patch
M src/flag-definitions.h View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M src/mksnapshot.cc View 1 2 chunks +162 lines, -151 lines 0 comments Download
M src/serialize.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
vogelheim
Next steps would be: 1, add a variable to gyp files to generate raw files. ...
6 years, 8 months ago (2014-04-23 13:14:26 UTC) #1
jochen (gone - plz use gerrit)
lgtm I guess make quickcheck still passes with this?
6 years, 8 months ago (2014-04-23 15:23:42 UTC) #2
Sven Panne
https://codereview.chromium.org/249283002/diff/20001/src/flag-definitions.h File src/flag-definitions.h (right): https://codereview.chromium.org/249283002/diff/20001/src/flag-definitions.h#newcode660 src/flag-definitions.h:660: DEFINE_bool(omit, false, "Omit raw snapshot bytes in generated code.") ...
6 years, 8 months ago (2014-04-24 06:59:16 UTC) #3
jochen (gone - plz use gerrit)
On 2014/04/24 06:59:16, Sven Panne wrote: > https://codereview.chromium.org/249283002/diff/20001/src/flag-definitions.h > File src/flag-definitions.h (right): > > https://codereview.chromium.org/249283002/diff/20001/src/flag-definitions.h#newcode660 ...
6 years, 8 months ago (2014-04-24 07:47:59 UTC) #4
vogelheim
PTAL. Not sure what to do abount the flags thing, though. https://codereview.chromium.org/249283002/diff/20001/src/flag-definitions.h File src/flag-definitions.h (right): ...
6 years, 8 months ago (2014-04-24 11:07:59 UTC) #5
Sven Panne
LGTM with a nit https://codereview.chromium.org/249283002/diff/20001/src/flag-definitions.h File src/flag-definitions.h (right): https://codereview.chromium.org/249283002/diff/20001/src/flag-definitions.h#newcode660 src/flag-definitions.h:660: DEFINE_bool(omit, false, "Omit raw snapshot ...
6 years, 8 months ago (2014-04-24 11:12:43 UTC) #6
vogelheim
On 2014/04/24 11:12:43, Sven Panne wrote: > LGTM with a nit > > https://codereview.chromium.org/249283002/diff/20001/src/flag-definitions.h > ...
6 years, 8 months ago (2014-04-24 11:24:15 UTC) #7
vogelheim
6 years, 8 months ago (2014-04-24 12:31:20 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 manually as r20941 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698