Split handle scopes into an internal version and a version accessible
authoriposva@chromium.org <iposva@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 23 Jan 2009 17:22:23 +0000 (17:22 +0000)
committeriposva@chromium.org <iposva@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 23 Jan 2009 17:22:23 +0000 (17:22 +0000)
commite718576d4fcbadca08f46f6a73cada36b0de31d8
tree0202a250b6aa104244c9f3285f30e9bf2e2d5750
parent108fe9dbccded671ebbb792678d986910ed4de38
Split handle scopes into an internal version and a version accessible
through the API. This allows us to verify state on entry through the API.
In this change verification in the API entry is checking that the current
thread holds the V8 lock when a HandleScope is instantiated if a v8::Locker
has ever been used by the V8 instance.
Review URL: http://codereview.chromium.org/18707

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1140 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8.h
src/api.cc
src/api.h
src/apiutils.h [new file with mode: 0644]
src/factory.cc
src/handles-inl.h
src/handles.cc
src/handles.h
src/messages.cc
src/v8threads.cc
tools/v8.xcodeproj/project.pbxproj