Commit 31da9758 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

lib: don't penalize setTimeout() common case

The common case is where setTimeout() is called with two arguments,
the callback and the timeout.  Specifying optional arguments in the
parameter list forces common case calls to go through an arguments
adaptor stack frame.

PR-URL: https://github.com/iojs/io.js/pull/1221


Reviewed-By: default avatarTrevor Norris <trev.norris@gmail.com>
parent b64983d7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment