Ensure that ToPositiveInteger is optimizable.
authordslomov@chromium.org <dslomov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 18 Nov 2013 14:07:24 +0000 (14:07 +0000)
committerdslomov@chromium.org <dslomov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 18 Nov 2013 14:07:24 +0000 (14:07 +0000)
commitf5c632b5e19b6da4ce591fb283da978252c990b6
treefc64db8e369c0c906c3e539dd8f9da5231c6577a
parent99133912bdaed3c081ff83fc7f5ebeef9048f3bd
Ensure that ToPositiveInteger is optimizable.

'throw %NAME(..)' cause hydrogen optimizations to be disabled for
surrounding function. This patch rectifies.

R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/71153004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17832 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/runtime.js