Changeset 259549 in webkit
- Timestamp:
- Apr 5, 2020, 1:59:57 AM (6 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
runtime/JSArrayIterator.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r259548 r259549 1 2020-04-05 Yusuke Suzuki <ysuzuki@apple.com> 2 3 [JSC] JSArrayIterator's size is wrong 4 https://bugs.webkit.org/show_bug.cgi?id=210020 5 6 Reviewed by Mark Lam. 7 8 Internal-size of JSArrayIterator should be 3, not 4. 9 10 * runtime/JSArrayIterator.h: 11 1 12 2020-04-05 Mark Lam <mark.lam@apple.com> 2 13 -
trunk/Source/JavaScriptCore/runtime/JSArrayIterator.h
r254419 r259549 30 30 namespace JSC { 31 31 32 class JSArrayIterator final : public JSInternalFieldObjectImpl< 4> {32 class JSArrayIterator final : public JSInternalFieldObjectImpl<3> { 33 33 public: 34 using Base = JSInternalFieldObjectImpl< 4>;34 using Base = JSInternalFieldObjectImpl<3>; 35 35 36 enum class Field : uint8_t { 36 enum class Field : uint8_t { 37 37 Index = 0, 38 38 IteratedObject, 39 39 Kind, 40 40 }; 41 static_assert(numberOfInternalFields == 3); 41 42 42 43 static size_t allocationSize(Checked<size_t> inlineCapacity)
Note:
See TracChangeset
for help on using the changeset viewer.