Reviewers: Mads Ager,

Message:
If this seems OK, the next change will be to put ENTER_V8 everywhere in
the API and try it out in the browser.

Description:
Add just enough state changes from EXTERNAL (outside V8) to OTHER
(generic state inside V8) in the API to allow the V8 shell to run all
the mjsunit tests with heap protection on.

These state changes are only taken when built with
ENABLE_HEAP_PROTECTION.  The two states OTHER and EXTERNAL are treated
the same because we will not properly reenter OTHER through the API.

Please review this at http://codereview.chromium.org/56060

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/api.cc
   M     src/global-handles.cc
   M     src/handles.cc
   M     src/heap.cc
   M     src/log.cc



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to