Fix segmentation fault in CodeMap::Print
authoryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 24 Apr 2013 12:09:04 +0000 (12:09 +0000)
committeryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 24 Apr 2013 12:09:04 +0000 (12:09 +0000)
commit29a7186d11bfb00e235d16fd731c1a996e80bbfd
treea2d59dda9b367c455c7140d40258c675245bd176
parent1d03493d4d7bb64f94946a1656e20d2968b9c0f6
Fix segmentation fault in CodeMap::Print

CodeEntry* is always NULL for SharedFunctionInfo entries in the CodeMap. Take this into account when printing the map.

Drive-by: removed CodeEntry::shared_id() which is never called.
BUG=None

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14410 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/profile-generator.cc
src/profile-generator.h