DescriptionAdd internal fields to JSArrayBufferViews (JSTypedArray and JSDataView)
In Blink, JSTypedArray and JSDataView objects act as "wrappers" for C++
objects. Wrapping protocol in Blink requires all wrapper JavaScript objects
to have a certain amount of internal fields that Blink uses for
book-keeping (essentially a pointer to C++ object and some type
information). This change adds those internal fields to JSTypedArray and
JSDataView, in a similiar way to how it is done for JSArrayBuffer.
R=titzer@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=15511
Patch Set 1 #Patch Set 2 : Added zeroing out internal fields and tests that verify that #
Total comments: 8
Patch Set 3 : CR feedback #
Messages
Total messages: 6 (0 generated)
|