Make the Isolate parameter mandatory in Locker and Unlocker classes.
authorsvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 18 Jan 2013 07:20:17 +0000 (07:20 +0000)
committersvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 18 Jan 2013 07:20:17 +0000 (07:20 +0000)
commitfab9a39d9ddf85048bbf1e1f0e99267f24e54cf1
tree873a262e817ec973d9d96d19e29e540cea91d932
parentca78326b668c01a68d8df9a5bfc996b5dc87530f
Make the Isolate parameter mandatory in Locker and Unlocker classes.

Note that leaving out the Isolate parameter previously had a very special
meaning, namely "use the *default* Isolate", i.e. the one magically created at
program initialization time. All other API entries use the meaning "current
Isolate", which is different in a multi-threaded setting and confusing.

Temporarily disabled deprecations until Chrome is ready.

BUG=v8:2487

Review URL: https://codereview.chromium.org/11970009

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13419 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
15 files changed:
include/v8.h
samples/lineprocessor.cc
src/d8-debug.cc
src/d8.cc
src/d8.h
src/debug.cc
src/isolate.cc
src/isolate.h
src/v8threads.cc
test/cctest/cctest.cc
test/cctest/cctest.h
test/cctest/test-api.cc
test/cctest/test-lockers.cc
test/cctest/test-thread-termination.cc
test/cctest/test-threads.cc