Commit b625ab42 authored by Trevor Norris's avatar Trevor Norris Committed by Rod Vagg
Browse files

buffer: fix usage of kMaxLength

Starting in V8 v4.3 the maximum array index of a typed array is the same
as the largest Smi supported on a given architecture. To compensate for
these differences export kMaxLength from the buffer module with the
correct size for the given architecture.

PR-URL: https://github.com/nodejs/io.js/pull/2003


Reviewed-By: default avatarChris Dickinson <christopher.s.dickinson@gmail.com>
parent 423d8944
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