Created a factory method for allocating the debug info object. The new
authorsgjesse@gmail.com <sgjesse@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 1 Sep 2008 10:15:45 +0000 (10:15 +0000)
committersgjesse@gmail.com <sgjesse@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 1 Sep 2008 10:15:45 +0000 (10:15 +0000)
commit9cd4196c557378db68313e9768db2191ea044803
tree5149b700e3ff6dfbd1cbf181449b9865c8f91b17
parente5e85a88cd71b25a27b1a2133f2c8b56fba7b167
Created a factory method for allocating the debug info object. The new
method ensures that there are no allocations during the setup.

This fixes test breakage on Linux in debug mode where allocation
happened while the debug info object was not fully set up making
verify heap unhappy.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@70 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/debug.cc
src/factory.cc
src/factory.h