Reviewers: Vitaly, Dmitry Titov,
Message:
There don't seem to be too many places in the code where we have a Context*
or a
Handle<Context> and no other way to get at the isolate (especially with the
metamap/cconv changes brewing). To keep the CL small I haven't gone through
and
replaced them all-- but is there someplace big I'm missing?
Thanks
Luke
http://codereview.chromium.org/3084017/diff/1/12
File src/serialize.cc (right):
http://codereview.chromium.org/3084017/diff/1/12#newcode1307
src/serialize.cc:1307: InstanceType type =
object_->map()->instance_type();
I did this test here instead of in objects.cc because I didn't want to
make GC any slower.
Description:
[Isolates] Add an isolate pointer to Context (and comb some lint).
Please review this at http://codereview.chromium.org/3084017/show
SVN Base: http://v8.googlecode.com/svn/branches/experimental/isolates/
Affected files:
M src/api.cc
M src/arm/codegen-arm.cc
M src/assembler.h
M src/assembler.cc
M src/builtins.cc
M src/contexts.h
M src/heap.cc
M src/ia32/codegen-ia32.cc
M src/isolate.h
M src/objects.cc
M src/serialize.cc
M src/x64/codegen-x64.cc
M test/cctest/test-api.cc
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev