Various clean-ups for inlined TypedArray construction
Categories
(Core :: JavaScript Engine, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox66 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
Details
Attachments
(14 files, 4 obsolete files)
|
1.63 KB,
patch
|
tcampbell
:
review+
|
Details | Diff | Splinter Review |
|
3.07 KB,
patch
|
tcampbell
:
review+
|
Details | Diff | Splinter Review |
|
9.25 KB,
patch
|
tcampbell
:
review+
|
Details | Diff | Splinter Review |
|
8.46 KB,
patch
|
tcampbell
:
review+
|
Details | Diff | Splinter Review |
|
7.18 KB,
patch
|
tcampbell
:
review+
|
Details | Diff | Splinter Review |
|
2.59 KB,
patch
|
tcampbell
:
review+
|
Details | Diff | Splinter Review |
|
2.12 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
|
4.49 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
|
1.62 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
|
1.97 KB,
patch
|
tcampbell
:
review+
|
Details | Diff | Splinter Review |
|
1.43 KB,
patch
|
anba
:
review+
|
Details | Diff | Splinter Review |
|
10.88 KB,
patch
|
anba
:
review+
|
Details | Diff | Splinter Review |
|
22.06 KB,
patch
|
anba
:
review+
|
Details | Diff | Splinter Review |
|
4.27 KB,
patch
|
anba
:
review+
|
Details | Diff | Splinter Review |
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
| Assignee | ||
Comment 5•7 years ago
|
||
| Assignee | ||
Comment 6•7 years ago
|
||
| Assignee | ||
Comment 7•7 years ago
|
||
| Assignee | ||
Comment 8•7 years ago
|
||
| Assignee | ||
Comment 9•7 years ago
|
||
| Assignee | ||
Comment 10•7 years ago
|
||
| Assignee | ||
Comment 11•7 years ago
|
||
| Assignee | ||
Comment 12•7 years ago
|
||
| Assignee | ||
Comment 13•7 years ago
|
||
| Assignee | ||
Comment 14•7 years ago
|
||
| Assignee | ||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Updated•7 years ago
|
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
Comment 19•7 years ago
|
||
Updated•7 years ago
|
Comment 20•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 21•7 years ago
|
||
Updated•7 years ago
|
| Assignee | ||
Comment 22•7 years ago
|
||
Comment 23•7 years ago
|
||
Comment 24•7 years ago
|
||
Updated•7 years ago
|
| Assignee | ||
Comment 25•7 years ago
|
||
Comment 26•7 years ago
|
||
| Assignee | ||
Comment 27•7 years ago
|
||
| Assignee | ||
Comment 28•7 years ago
|
||
| Assignee | ||
Comment 29•7 years ago
|
||
| Assignee | ||
Comment 30•7 years ago
|
||
| Assignee | ||
Comment 31•7 years ago
|
||
Comment 32•7 years ago
|
||
Pushed by rgurzau@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9ee71cbdb6ab
Part 2: Remove dead or useless code. r=tcampbell
https://hg.mozilla.org/integration/mozilla-inbound/rev/8f35396665f5
Part 3: Sprinkle a few constexpr throughout TypedArray code. r=tcampbell
https://hg.mozilla.org/integration/mozilla-inbound/rev/b4b4151af797
Part 4: Replace most sizeof with BYTES_PER_ELEMENT to align with TypedArrayObject::bytesPerElement() users. r=tcampbell
https://hg.mozilla.org/integration/mozilla-inbound/rev/fbe6986e02b5
Part 5: Remove unnecessary extra branches in TypedArrayObjectTemplate<T>::fromTypedArray. r=tcampbell
https://hg.mozilla.org/integration/mozilla-inbound/rev/26f01305411c
Part 6: Replace CalculateAllocSize with simple multiplication. r=tcampbell
https://hg.mozilla.org/integration/mozilla-inbound/rev/f428c73aa133
Part 7: Fix a comment, add |const|, use typed enums, and more nits. r=tcampbell
https://hg.mozilla.org/integration/mozilla-inbound/rev/f46527ec0104
Part 8: Remove explicit call to GetBackgroundAllocKind. r=jandem
https://hg.mozilla.org/integration/mozilla-inbound/rev/0ff9408e5956
Part 9: Replace unreachable code in ArrayBufferView tracking with assertions. r=jandem
https://hg.mozilla.org/integration/mozilla-inbound/rev/10cd03b453f8
Part 10: Use initFixedSlot when initializing typed array slots. r=tcampbell
https://hg.mozilla.org/integration/mozilla-inbound/rev/f4a25c85b318
Part 11: Move friend-api typed array functions closer together. r=tcampbell
https://hg.mozilla.org/integration/mozilla-inbound/rev/247a8fda0496
Part 12: Use JS_FOR_EACH_TYPED_ARRAY instead of enumerating each typed array kind manually. r=tcampbell
https://hg.mozilla.org/integration/mozilla-inbound/rev/0698427ff246
Part 1: Change parameter name in JS_FOR_EACH_TYPED_ARRAY macro for better clang-format output. r=tcampbell
| Assignee | ||
Comment 33•7 years ago
|
||
The push in comment #32 missed "Part 13" and "Part 14", setting "checkin-needed" again for those two parts.
Comment 34•7 years ago
|
||
Pushed by rgurzau@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5259ce5b5a40
Part 14: Add constexpr modifier to variables holding constexpr values. r=tcampbell
https://hg.mozilla.org/integration/mozilla-inbound/rev/500c1db30533
Part 13: Move the default getIndexValue method into the anonymous namespace. r=jandem
Comment 35•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9ee71cbdb6ab
https://hg.mozilla.org/mozilla-central/rev/8f35396665f5
https://hg.mozilla.org/mozilla-central/rev/b4b4151af797
https://hg.mozilla.org/mozilla-central/rev/fbe6986e02b5
https://hg.mozilla.org/mozilla-central/rev/26f01305411c
https://hg.mozilla.org/mozilla-central/rev/f428c73aa133
https://hg.mozilla.org/mozilla-central/rev/f46527ec0104
https://hg.mozilla.org/mozilla-central/rev/0ff9408e5956
https://hg.mozilla.org/mozilla-central/rev/10cd03b453f8
https://hg.mozilla.org/mozilla-central/rev/f4a25c85b318
https://hg.mozilla.org/mozilla-central/rev/247a8fda0496
https://hg.mozilla.org/mozilla-central/rev/0698427ff246
https://hg.mozilla.org/mozilla-central/rev/5259ce5b5a40
https://hg.mozilla.org/mozilla-central/rev/500c1db30533
Description
•