|
Support external startup data in V8.
If the embedder chooses, the 'natives' (library sources) and the
precompiled startup blob can be written to files during the build
process and handed over to V8 at startup. The main purpose would be
to reduce the size of the compiled binary for space constrained
platforms.
The build-time option is off by default. Nothing should change if
it's not enabled.
BUG=
R=bmeurer@chromium.org, jochen@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=21646
Total comments: 20
Total comments: 21
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1011 lines, -257 lines) |
Patch |
 |
M |
BUILD.gn
|
View
|
1
2
3
4
5
|
4 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
build/features.gypi
|
View
|
|
2 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
include/v8.h
|
View
|
1
2
3
4
5
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/api.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+18 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/d8.h
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/d8.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/flag-definitions.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/heap.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/mksnapshot.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+59 lines, -12 lines |
0 comments
|
Download
|
 |
M |
src/natives.h
|
View
|
1
2
3
4
5
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/natives-external.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+190 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/serialize.h
|
View
|
1
2
3
4
5
|
4 chunks |
+3 lines, -75 lines |
0 comments
|
Download
|
 |
M |
src/serialize.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+1 line, -21 lines |
0 comments
|
Download
|
 |
M |
src/snapshot.h
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/snapshot-common.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+13 lines, -52 lines |
0 comments
|
Download
|
 |
A |
src/snapshot-external.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+140 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/snapshot-source-sink.h
|
View
|
1
2
3
4
5
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/snapshot-source-sink.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+95 lines, -0 lines |
0 comments
|
Download
|
 |
M |
test/cctest/test-serialize.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+56 lines, -39 lines |
0 comments
|
Download
|
 |
A + |
tools/concatenate-files.py
|
View
|
1
2
3
4
5
|
2 chunks |
+42 lines, -21 lines |
0 comments
|
Download
|
 |
M |
tools/gyp/v8.gyp
|
View
|
1
2
3
4
5
|
10 chunks |
+130 lines, -7 lines |
0 comments
|
Download
|
 |
M |
tools/js2c.py
|
View
|
1
2
3
4
5
|
8 chunks |
+52 lines, -10 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|