Updates:
Cc: [email protected]
Labels: Type-FeatureRequest
Comment #1 on issue 3829 by [email protected]: Use IC for `fn.apply(...)`
https://code.google.com/p/v8/issues/detail?id=3829
If this is to be built into V8, the unoptimized code part would be
something like this:
- parser recognizes possible call to Function.prototype.apply
- fullcodegen generates code that compares the function to
Function.prototype.apply and just calls the function on mismatch
- on match, we would call an IC, which would work the same way as other ICs
do, except that the 'type' is the array length.
But given that we already inline Function.prototype.apply in Crankshaft, I
don't know how much performance we would gain by this stop-gap improvement
of unoptimized code. Maybe we can use this IC to improve optimized code?
Maybe we should just wait for TF?
Is there any benchmark for this?
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
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/d/optout.