Get property may throw an exception thanks to JS accessors.
authorantonm@chromium.org <antonm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Feb 2011 17:42:56 +0000 (17:42 +0000)
committerantonm@chromium.org <antonm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Feb 2011 17:42:56 +0000 (17:42 +0000)
commitda463ab4841004e0934245ca50fda74c4fbf75a4
tree53b8569c37e4319738740ac3a171fea12b88525f
parent4718466e48c8cabb8389756390253edf150f58f7
Get property may throw an exception thanks to JS accessors.

Check result before and bail out if exception has been thrown.

BUG=v8:1172
TEST=test/mjsunit/regress/regress-1172-bis.js

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6939 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ic.cc
test/mjsunit/regress/regress-1172-bis.js [new file with mode: 0644]