Clean 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= Review URL: https://chromiumcodereview.appspot.com/10459047 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11698 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Showing
This diff is collapsed.
Please
register
or
sign in
to comment