Fix CPU profiler crash in start / stop sequence when non-existent name is passed
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 10 Aug 2010 12:06:42 +0000 (12:06 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 10 Aug 2010 12:06:42 +0000 (12:06 +0000)
commit4bbf058d53e35c50771b361c981431324486925d
tree81ac0f32b43fc1f436f9dd3a175d0f9c0b98b17b
parentf75e7855b7cae24ef962a4d5c40b6869a4a21ed3
Fix CPU profiler crash in start / stop sequence when non-existent name is passed

BUG=51594
TEST=test-cpu-profiler/CrashIfStoppingLastNonExistentProfile

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5230 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/cpu-profiler.cc
src/cpu-profiler.h
src/profile-generator-inl.h
src/profile-generator.cc
src/profile-generator.h
test/cctest/test-cpu-profiler.cc