Status: New
Owner: ----
New issue 3829 by [email protected]: Use IC for `fn.apply(...)`
https://code.google.com/p/v8/issues/detail?id=3829
This is not a bug report, just a request of a feature from which io.js (and
very likely other projects) will benefit.
The idea is to define new IC for `.apply` method. If written in javascript
the code for apply would look like this:
function apply(context, args) {
if (args.length === [first ic value])
return this.call(context, arg0, ...)
else if (args.length === [second ic value])
...
else
return IC_Miss();
}
Could be implemented in JS, for sure, but might be more robust if
implemented in v8 itself.
Thoughts?
(Created in collaboration with Trevor Norris).
--
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.