LGTM but I would prefer to have a regression test.What happens if we have IC that is already in megamorphic state and them we pass
an object with accessors (API ones, because we don't compile IC stub forJavaScript ones AFAIK) into it. Then trigger optimization. Would it find stub
for accessors in stub cache?
https://chromiumcodereview.appspot.com/9584003/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
