Make Isolate::GetHeapStatistics robust against half-initialized isolates.
authorhpayer@chromium.org <hpayer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 27 Mar 2013 10:33:25 +0000 (10:33 +0000)
committerhpayer@chromium.org <hpayer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 27 Mar 2013 10:33:25 +0000 (10:33 +0000)
commit754c32ec8dacd47ec7fd791f3807025e33ad01db
tree447d69a94668a0cbfa8849e375181c127a9ec1ae
parenta942fcd984385533a7effcd138f662458014c171
Make Isolate::GetHeapStatistics robust against half-initialized isolates.

The (deprecated) non-Isolate GetHeapStatistics contains the same check.

BUG=2591

Review URL: https://codereview.chromium.org/12965013
Patch from Marja Hölttä <marja@chromium.org>.

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