Reviewers: Søren Gjesse,
Message:
The idea is to have a light version of D8 based on the same source file as
the
current full version. The light version does not require anything from
v8::internal:: and can therefore be linked against shared v8 library.
Apparently this is necessary in some cases for the test shell according to
Rico.
Until now this has been done by a light version of the sample shell, which
we
are going to retire.
http://codereview.chromium.org/7351017/diff/6/src/d8.cc
File src/d8.cc (right):
http://codereview.chromium.org/7351017/diff/6/src/d8.cc#newcode768
src/d8.cc:768: FILE* file = fopen(name, "rb"); // TODO: reading from a
directory hangs!
This is a known minor issue. I'll come with a solution for this in
another CL.
http://codereview.chromium.org/7351017/diff/6/src/d8.cc#newcode958
src/d8.cc:958: FILE* file = fopen(name, "rb"); // TODO: reading from a
directory hangs!
Ditto.
http://codereview.chromium.org/7351017/diff/6/src/d8.cc#newcode1052
src/d8.cc:1052: } else if (strcmp(argv[i], "--preemption") == 0) {
Many options are not supported by the light version.
Description:
Introduces a light version of D8 that links against shared library.
Please review this at http://codereview.chromium.org/7351017/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M SConstruct
M src/SConscript
M src/d8.h
M src/d8.cc
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev