mirror of https://github.com/lukechilds/node.git
Browse Source
isSharedArrayBuffer in fromObject was missing obj.buffer moved the 'length' in obj check so that it is checked first making the code slightly more performant and able to handle SharedArrayBuffer without relying on an explicit check. Ref: https://github.com/nodejs/node/pull/8510 PR-URL: https://github.com/nodejs/node/pull/8739 Reviewed-By: Ilkka Myller <ilkka.myller@nodefield.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>v7.x
Ojas Shirekar
8 years ago
committed by
James M Snell
2 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue