DescriptionClean up d8 ArrayBuffer implementation and fix bug in readbuffer:
- Separate CreateExternalArrayBuffer function.
- Properly create buffers for arrays constructed with size argument only.
- Finalization of data array is tied to buffer object exclusively.
- Get rid of hidden buffer reference in array objects and size header in data.
- Use 'new' instead of 'malloc' in readbuffer.
- Test cases for additional array and buffer properties.
R=mstarzinger@chromium.org
BUG=
TEST=
Committed: https://code.google.com/p/v8/source/detail?r=11698
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed Michael's comments. #
Messages
Total messages: 3 (0 generated)
|