In some cases the assert that the test function is not optimized fails because the function may be optimized already after the second invocation. (e.g. when running slow in debug mode) Review URL: http://codereview.chromium.org/7778009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9034 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
(if the test ran too slow, optimization kicked in earlier than expected by the test) TEST=mjsunit/assert-opt-and-deopt.js no longer flaky Review URL: http://codereview.chromium.org/7298001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8511 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
TEST=mjsunit/assert-opt-and-deopt.js Review URL: http://codereview.chromium.org/6879108 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7813 ce2b1a6d-e550-0410-aec6-3dcde31c8c00