Fix crash during error reporting during bootstrapping.
authorchristian.plesner.hansen@gmail.com <christian.plesner.hansen@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 10 Sep 2009 06:52:46 +0000 (06:52 +0000)
committerchristian.plesner.hansen@gmail.com <christian.plesner.hansen@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 10 Sep 2009 06:52:46 +0000 (06:52 +0000)
commit9f7fabeb684344c51258cb331e64f0faaed1c287
treeaf9ac08fc9c289b4deaae9ba71a85e47a4090075
parent39a3c9c61bfb8629a680d473beef011658a19299
Fix crash during error reporting during bootstrapping.
Instead of crashing or reporting a fatal v8 error if an error occurs
during context initialization we now survive and return an empty
handle.

Review URL: http://codereview.chromium.org/194070

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2867 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/api.cc
src/factory.cc
src/top.cc