Do not try to collect the map if the monomorphic IC stub has no map.
authorverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 28 Jan 2013 13:19:53 +0000 (13:19 +0000)
committerverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 28 Jan 2013 13:19:53 +0000 (13:19 +0000)
commitc8636a28091ca2ea636abf5965c064bf49a30cb5
tree4460617cdb514356a59229e72f96fc642d982fde
parentfe0582c2621d300dc84952bf7d5bcc740593a587
Do not try to collect the map if the monomorphic IC stub has no map.

This is necessary for monomorphic stubs that rely on instance types,
such as ArrayLength, StringLength and FunctionPrototype.

BUG=chromium:172345

Review URL: https://chromiumcodereview.appspot.com/12082023

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