dgram: prevent disabled optimization of bind()
authorBrian White <mscdex@mscdex.net>
Sun, 10 Jan 2016 22:52:13 +0000 (17:52 -0500)
committerMyles Borins <mborins@us.ibm.com>
Mon, 15 Feb 2016 19:30:23 +0000 (11:30 -0800)
commit6e829b44e36e51fcf58e3ebbde1ea7299fc93c44
tree4a05ba962f0f0f693677a8d9846a5bd5ff196176
parent661b2557d930059296341b824533219ecfacce1b
dgram: prevent disabled optimization of bind()

Reassigning a named parameter while also using the arguments
object causes the entire function to never be optimized.

PR-URL: https://github.com/nodejs/node/pull/4613
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
lib/dgram.js