Change Context::New to not create persistent handles.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 10 Apr 2013 09:34:37 +0000 (09:34 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 10 Apr 2013 09:34:37 +0000 (09:34 +0000)
commita22790bfed00803826893c983360915f57cb8290
tree55624511c84c6ccb160833dc14a7d1597e3fdc5a
parent996a80df45c0a2e2e1bb2c8c5b29721c47988381
Change Context::New to not create persistent handles.

This moves the responsibility of putting a new context into a persistent
handle to the embedder. Also it removes one API function where the copy
constructor for persistent handles is needed.

R=svenpanne@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14203 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8.h
src/api.cc
src/bootstrapper.cc
src/debug.cc
test/cctest/cctest.cc
test/cctest/test-decls.cc