js/src/vm/ArrayBufferObject.h
973c3800d5d6c10e06ce653add01316f9b0ee25e
created 2019-02-20 13:51 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove ArrayBufferObject::change{,View}Contents as unused. r=sfink
694fe0c4379319644cd9f64781fcb71a75558ed5
created 2019-02-20 13:33 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove setOwnsData and the OWNS_DATA flag. r=sfink
650bd5a18809655323834c7b56d84ad6c512d752
created 2019-02-20 13:33 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Now that |ownsData()| is always true, inline that true value into all callers. r=sfink
ef4c27821811d19a0dc64e4d9b4d2e7841bb1370
created 2019-02-20 13:33 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove the useless OwnsState argument from ArrayBufferObject::setDataPointer. r=sfink
a06864bc83520a544a3412f81b5d3ef0e930138b
created 2019-02-20 13:33 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove the useless OwnsState argument from ArrayBufferObject::initialize. r=sfink
870a5571096968b606babc8eb1f7c495c18ddf1c
created 2019-02-20 13:33 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove the useless OwnsState argument from ArrayBufferObject::createForContent. r=sfink
713088adfe5f3c60bdb08254b2768c70731db317
created 2019-02-20 13:33 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove the useless OwnsState argument from ArrayBufferObject::setNewData. r=sfink
a7a39ff0615820e92079562b305e996865e7b56f
created 2019-02-20 13:33 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove the useless OwnsState argument from ArrayBufferObject::changeContents. r=sfink
5cb592de5e03d0df8254bbd779d84760b0d16eef
created 2019-02-20 13:33 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove ArrayBufferObject::stealContents now that it's unused. r=sfink
63536a044a29b3f723e3ee829f260dafc41feb54
created 2019-02-20 13:33 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Implement an ArrayBufferObject::extractStructuredCloneContents for structured-cloning an ArrayBuffer. r=sfink
715e9b139ebbd407ac64b5ee8737d0f042f74b4c
created 2019-02-20 13:33 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Implement an ArrayBufferObject::stealMallocedContents for use in JS_StealArrayBufferContents, rather than reusing the hoary ArrayBufferObject::stealContents with finicky caller-side should-this-steal logic. r=sfink
d8a4ce77f2f10639b3a5783b5961319d35342711
created 2019-02-18 23:13 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove most uses of DoesntOwnData for NO_DATA and USER_OWNED and make current users that depend on |ownsData()| not do so. r=sfink
ac3ad3942d6791b7df823d87b23f68efdfa7317a
created 2019-02-18 23:06 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove |ArrayBufferObject::hasStealableContents()| and replace it with its contents, appropriately simplified for each calling location. r=sfink
5b7a07b449ba9d2a0737a3d193d8fec3984ab9ca
created 2019-02-18 23:06 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Initialize all ArrayBuffers that store their data inline using a single function. r=sfink
3556d94cbc81358a0dbe561079b71f924c235d3f
created 2019-02-18 22:53 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Add BufferKind::NO_DATA for ArrayBuffers that have no data (whether because byteLength is zero or because the ArrayBuffer is detached), for which the value of |ownsData()| is irrelevant. r=sfink
1cead3a873e2b866f6ffdc1e1f9a83442070a72c
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove ArrayBufferOffset::offsetOfFlags as unused. r=sfink
dcdddf46e820597ddcc985590782fd393cf4291b
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Add BufferContents::createFoo functions for every kind so that the templaty, harder-to-search-for create function can be removed. r=sfink
92fc3d9b6699885b0af2feb47b9577640d6d2898
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove trailing arguments to ArrayBufferObject::createForContents that are identical for every caller. r=sfink
765bc7a86f726c7fd3633ca29026cc10f4950864
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Rename the two ArrayBufferObject::create overloads to ArrayBufferObject::create{Zeroed,WithContents}, and inline a simplified form of the more-complex ArrayBufferObject::create into the new createZeroed function. r=sfink
5a304d4b53c05587d9da2fdb4db5276380c6ff5b
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove ArrayBufferObject::hasData and perform its operation in its sole caller in a more straightforward manner. r=sfink
76600605e1e3ce8a54e7ab8c1d98851cad365959
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove JS_ExternalizeArrayBufferContents because it has no users except in tests, implements complicated ownership semantics, and is definite implementation complexity. r=sfink
9e5e10661a782ba3bd5836eef5505b3f10e09967
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Move most of JS_ExternalizeArrayBufferContents into a static member function on ArrayBufferObject so that internals-observing code isn't smeared across two functions. r=sfink
c0aee08543ad5825d3a08aedf60ea8b1f524625f
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Split PLAIN into INLINE_DATA/MALLOCED for ArrayBuffer kinds. r=sfink
eed1098d0d6c9e3af5b02154295e452c6c21bb48
created 2019-02-22 05:43 +0200
pushed 2019-03-11 13:01 +0000
Csoregi Natalia Csoregi Natalia - Backed out 16 changesets (bug 1529298, bug 1529294) for spidermonkey bustages on testAtomicOperations.cpp. CLOSED TREE
d80b681a68e6a273d1663d5048c3dfcd7b4debd1
created 2019-02-18 23:06 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Initialize all ArrayBuffers that store their data inline using a single function. r=sfink
086849ef0dd549f9562bc56e79abb62047a99d15
created 2019-02-18 22:53 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Add BufferKind::NO_DATA for ArrayBuffers that have no data (whether because byteLength is zero or because the ArrayBuffer is detached), for which the value of |ownsData()| is irrelevant. r=sfink
6f66e6c059df0b3a13307c83ffb98b821cd592a4
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove ArrayBufferOffset::offsetOfFlags as unused. r=sfink
6cc3cd982953405eaa669248b103c5cc6b987d57
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Add BufferContents::createFoo functions for every kind so that the templaty, harder-to-search-for create function can be removed. r=sfink
c9f62f10eeb5db27027ebb2c6ad54db1d23a9db6
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove trailing arguments to ArrayBufferObject::createForContents that are identical for every caller. r=sfink
1477b8eb544268bdd7deacd909077bfbebc59f0e
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Rename the two ArrayBufferObject::create overloads to ArrayBufferObject::create{Zeroed,WithContents}, and inline a simplified form of the more-complex ArrayBufferObject::create into the new createZeroed function. r=sfink
5be8cb19ad3d9f581bacf4a6acf9a7dba43dd5da
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove ArrayBufferObject::hasData and perform its operation in its sole caller in a more straightforward manner. r=sfink
432b2e88c651908122e95cc5bdca63aed1758217
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Remove JS_ExternalizeArrayBufferContents because it has no users except in tests, implements complicated ownership semantics, and is definite implementation complexity. r=sfink
3512de18097c797cdbeec56b56efdf3e36eb3399
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Move most of JS_ExternalizeArrayBufferContents into a static member function on ArrayBufferObject so that internals-observing code isn't smeared across two functions. r=sfink
9294b0d54597d7ef4ec4615739306f9bb9f3d1e5
created 2019-02-18 22:52 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Split PLAIN into INLINE_DATA/MALLOCED for ArrayBuffer kinds. r=sfink
2849a2838ea50d685b386bd962b8b41ef5f84899
created 2019-02-18 22:47 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Split PLAIN into PLAIN_DATA and USER_OWNED ArrayBuffer data types to clearly segregate the two, rather than categorizing them both as the same thing. r=sfink
6e25dc78ef1e6b949e6a3839a9a28f43a14ae635
created 2019-02-18 22:45 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Add a BufferContents::createFailed() to use in situations where a failure occurs, rather than overloading createPlain(nullptr). r=sfink
f24c3019443fbfcc4f7d2ee5a67f1d364889840a
created 2019-02-18 22:45 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Change the comment by ArrayBufferFlags's FOR_ASMJS to indicate that buffers prepared for asm.js must be PLAIN, MAPPED, or EXTERNAL. r=sfink
6a9063e764426f1adb8852595121162a0708e4cb
created 2019-02-18 22:45 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1529298 - Add an extra bit to ArrayBufferObject::BufferKind's KIND_MASK to permit adding additional buffer kinds beyond the current four. r=sfink
983e5c1a6ba7eda53a9075bc657cf82ba6c06028
created 2019-02-15 19:53 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1527174 - Remove ArrayBufferObject::trace as unnecessary now that buffers for inline typed objects no longer exist. r=sfink
f21f35c4c4ec7e7b0ec6b82570f1b1e1f28c1414
created 2019-02-15 19:53 -0800
pushed 2019-03-11 13:01 +0000
Jeff Walden Jeff Walden - Bug 1527174 - Remove ArrayBufferObject::ArrayBufferFlags's FOR_INLINE_TYPED_OBJECT initializer, as this flag is never set when typed object buffers can't be reified. r=sfink
8f35396665f570d44b59fd968ceccc5dd62dddcc
created 2019-01-03 02:46 -0800
pushed 2019-01-21 13:03 +0000
André Bargull André Bargull - Bug 1517259 - Part 3: Sprinkle a few constexpr throughout TypedArray code. r=tcampbell
66eb1f485c1a3ea81372758bc92292c9428b17cd
created 2018-12-01 04:52 +0900
pushed 2018-12-03 16:23 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
e4712449ba4303cef134ba0b3f1bea13fbd50c4a
created 2018-11-30 16:39 +0100
pushed 2018-12-03 16:23 +0000
Benjamin Bouvier Benjamin Bouvier - Bug 1511383: Update vim modelines after clang-format; r=sylvestre
6f3709b3878117466168c40affa7bca0b60cf75b
created 2018-11-30 11:46 +0100
pushed 2018-12-03 16:23 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
8886fad423dc0f7de57b96512b5680eecc2733ba
created 2018-10-15 11:43 +0000
pushed 2018-10-18 18:37 +0000
Jan de Mooij Jan de Mooij - Bug 1496378 part 6 - Remove TypedObject to ArrayBufferViewObject static_cast hackery. r=jwalden
992c0bd2f327fd11fa790814162621f77080eb6b
created 2018-10-15 11:42 +0000
pushed 2018-10-18 18:37 +0000
Jan de Mooij Jan de Mooij - Bug 1496378 part 4 - Move ArrayBufferViewObject and related APIs into vm/ArrayBufferViewObject.{h,cpp}. r=jwalden
e6c5e6c15848b2df293dade2084ec9a585f21c2b
created 2018-10-15 11:41 +0000
pushed 2018-10-18 18:37 +0000
Jan de Mooij Jan de Mooij - Bug 1496378 part 3 - Move buffer methods from DataViewObject/TypedArrayObject to ArrayBufferViewObject. r=jwalden
1f8af7db9d96ee0e9fd4f9d4949efe3921f99290
created 2018-10-15 11:51 +0000
pushed 2018-10-18 18:37 +0000
Jan de Mooij Jan de Mooij - Bug 1496378 part 2 - Move data pointer accessors from DataViewObject/TypedArrayObject to ArrayBufferViewObject. r=jwalden
87071cf93bcc0f411b0fb267fa5872aad6abab53
created 2018-10-15 11:39 +0000
pushed 2018-10-18 18:37 +0000
Jan de Mooij Jan de Mooij - Bug 1496378 part 1 - Make ArrayBufferViewObject a base class of TypedArrayObject and DataViewObject. r=jwalden
d1094983384c30f5aa7860e7d5ff49be625fb47a
created 2018-10-03 15:43 -0500
pushed 2018-10-15 21:07 +0000
Luke Wagner Luke Wagner - Bug 1495149 - Baldr: don't use signal handlers for asm.js bounds checks (r=lth,bbouvier)
7a053ded7f8039fa6274dbb7b41db2b6b5d751da
created 2018-05-16 19:00 -0700
pushed 2018-06-18 21:43 +0000
Jeff Walden Jeff Walden - Bug 1461556 - Give uint8_clamped a defaulted (and also trivial) default constructor, copy constructor, and copy-assignment operator. (This also allows uint8_clamped to be permissibly memmove'd and memcpy'd.) r=jandem
0542781fe38706cfab265aa9da4edac644d1aa72
created 2018-05-02 23:20 -0700
pushed 2018-06-18 21:43 +0000
Philip Chimento Philip Chimento - Bug 1430438 - Remove ref argument from JS_NewExternalArrayBuffer(). r=jorendorff
20546b86221e433170746889fad17450c5d6d3e0
created 2018-04-13 02:26 -0700
pushed 2018-04-26 21:04 +0000
André Bargull André Bargull - Bug 1447442 - Part 7: More clean-up for typed arrays and array buffer views. r=jorendorff
6ff8aaef28669cc3945291a182232680481256da
created 2018-04-11 23:19 +0200
pushed 2018-04-26 21:04 +0000
Tristan Bourvon Tristan Bourvon - Bug 525063 - Backing out js/src/ for violation of committing guideliens. CLOSED TREE
d7d2f08e051c3c355d41dc5c1ce1bd3ca55a43b9
created 2018-04-10 21:11 +0200
pushed 2018-04-26 21:04 +0000
Tristan Bourvon Tristan Bourvon - Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
8720aef9b3a59099cb4a693105a4cb633664ce65
created 2018-02-22 21:03 -0800
pushed 2018-03-07 14:27 +0000
Philip Chimento Philip Chimento - Bug 1430438 - Allow reference counted data in JS_NewArrayBufferWithContents(). r=sfink
9ec168a898ac298c50a77b0ab22220af35246046
created 2018-02-28 02:03 -0800
pushed 2018-03-02 22:13 +0000
André Bargull André Bargull - Bug 1438842 - Part 4: Remove unused parameters in js/src/vm. r=jandem
eabb74b1c3bd181ff74c9d41003bc2b9aee6fe68
created 2018-02-12 12:03 -0600
pushed 2018-03-01 16:46 +0000
Jason Orendorff Jason Orendorff - Bug 1429206 - Part 3: Rename jsobj* -> vm/JSObject*. r=jandem.
e52e7ff7148a48d0ee939bff62064d6736c3458a
created 2018-01-28 20:23 +0200
pushed 2018-03-01 16:46 +0000
Ted Campbell Ted Campbell - Bug 1433837 - Objects that are isNative should extend NativeObject r=jandem
b5bf428cf5214957ac12c35517530c6de2b24584
created 2018-01-22 12:52 -0800
pushed 2018-03-01 16:46 +0000
Jeff Walden Jeff Walden - Bug 1432316 - Move a few ArrayBufferObjectMaybeShared inline member functions to the appropriate -inl.h file, after the *other* inline functions their definitions require. r=sfink
less more (0) -100 -60 tip