Consistently return failure if the stub cache cannot deliver a code object
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 22 Feb 2010 10:04:22 +0000 (10:04 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 22 Feb 2010 10:04:22 +0000 (10:04 +0000)
commit38f2363df6bf67215be742ec478dd674976f38bb
tree0a5214d315fdd0e08e0a48543c5b29edda6b6bfe
parent91a2fb7acef0e1ae207cc7e6ca42b9a8fe23ebd2
Consistently return failure if the stub cache cannot deliver a code object

Some functions of the stub cache returned undefined if a code stub could not be generated. However the clients of these functions only cehcks for failure. Now all these functions return a failire object if no code stub can be made available
Review URL: http://codereview.chromium.org/652039

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