Remove more assumptions from debug tests. Even though a function
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 26 Apr 2012 13:44:18 +0000 (13:44 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 26 Apr 2012 13:44:18 +0000 (13:44 +0000)
commit292e007cf3542103f0965be892f494d08407014d
tree9b7f3879f6d2a79b033926df7c505f2db79cfe56
parentf46906d7a8aa91ca90324652976d2254bb941756
Remove more assumptions from debug tests.  Even though a function
is optimized, does not mean all frames on the stack are optimized.
Also, when we ask for the list of scripts we may get more or less
depending on GC timing.  Also fixed a presubmit error and made
%GetOptimizationStatus a little more honest.
Review URL: https://chromiumcodereview.appspot.com/10234007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11455 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/runtime.cc
test/mjsunit/debug-evaluate-locals-optimized-double.js
test/mjsunit/debug-evaluate-locals-optimized.js
test/mjsunit/debug-scripts-request.js