Fix test failures in debug mode w/snapshots. It turns out that not
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 5 Feb 2010 13:07:00 +0000 (13:07 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 5 Feb 2010 13:07:00 +0000 (13:07 +0000)
commit19c1675b947fcf57963ed3e48191e4fa7c480c0b
treece3e6976fe21d54a236b8d6cb5f6274d0fb9a179
parentdd85270967695935639aee6df7263e52519d159a
Fix test failures in debug mode w/snapshots. It turns out that not
all stubs have valid major_keys, and this is OK. So I've added
a check to avoid termination in debug mode.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3807 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/code-stubs.cc
src/code-stubs.h
src/disassembler.cc
src/log.cc