https://chromiumcodereview.appspot.com/25464004/diff/1/src/ic.cc
File src/ic.cc (left):

https://chromiumcodereview.appspot.com/25464004/diff/1/src/ic.cc#oldcode755
src/ic.cc:755: argc, kind_, extra_ic_state());
They aren't removed, they are just folded in the existing
implementation.

They are available implicitly.
TryRemoveInvalidPrototypeDependentStub will first do
TryUpdateExtraICState before running the rest of the code; which will
result in MONOMORPHIC_PROTOTYPE_FAILURE, hence it'll stay MONOMORPHIC.

When it was already MONOMORPHIC, it'll try to go POLYMORPHIC, but that
won't work out since there are never handlers for calls atm (of course
we want to get those in the future). So it'll go megamorphic. It'll call
the virtual "megamorphic_stub()" method to create it, which is now
overwritten to do ComputeCallMegamorphic.

On 2013/10/02 08:45:24, ulan wrote:
Why are we removing these cases?

https://chromiumcodereview.appspot.com/25464004/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to