joyent/node — pull request #8871 by indutny (2014-12-15 03:39:12+00:00)
Title: deps: fix deoptimization for CallNew/arguments

Combination of CallNew and ArgumentElements instructions may lead to
deoptimizer OSR loading incorrect stack slots for pushed arguments.

Latest v8 seems to mitigate this by pushing all arguments late in one
instructions. Do the same thing but with multiple instructions placed
closer to the CallNew.

Fix joyent/node#8730

cc @tjfontaine @misterdjules