node: add inTick and lastThrew to infoBox
authorTrevor Norris <trev.norris@gmail.com>
Tue, 30 Jul 2013 22:06:45 +0000 (15:06 -0700)
committerTrevor Norris <trev.norris@gmail.com>
Wed, 31 Jul 2013 16:25:19 +0000 (09:25 -0700)
commit6a5a7b089ea77c0001bee3b38e657901364a0b5f
treeaa19f48b1e3b1dc7f941005930e9270baa370167
parent2cd7adc7f44e4dfe440162a31a168e6aa9a8cea1
node: add inTick and lastThrew to infoBox

To prevent all unnecessary calls to JS from MakeCallback, the remaining
two immediate return variables inTick and lastThrew have been added to
infoBox. Now MakeCallback should never need to call into JS unless it
absolutely has to.

Also removed Tock. Performance tests showed it was at least as fast or
faster than using a normal object, and this is more readable.
src/node.cc
src/node.js