Skip to content

Commit ef268b0

Browse files
committed
Fix the build after 322927@main
https://bugs.webkit.org/show_bug.cgi?id=326626 rdar://189366000 Unreviewed build fix. 322927@main exported IsoCellSet::clearLowerTierPreciseCell(), which is defined inline, so builds that verify exported symbols fail. Define it in IsoCellSet.h, where WebCore can see it, and stop exporting it. * Source/JavaScriptCore/heap/IsoCellSet.h: * Source/JavaScriptCore/heap/IsoCellSetInlines.h: Canonical link: https://commits.webkit.org/322930@main
1 parent 0a254e2 commit ef268b0

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

‎Source/JavaScriptCore/heap/IsoCellSet.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class IsoCellSet final : public BasicRawSentinelNode<IsoCellSet> {
7676
void didResizeBits(unsigned newSize);
7777
void didRemoveBlock(unsigned blockIndex);
7878
void sweepToFreeList(MarkedBlock::Handle*);
79-
JS_EXPORT_PRIVATE void clearLowerTierPreciseCell(unsigned);
79+
void clearLowerTierPreciseCell(unsigned index) { m_lowerTierPreciseBits.concurrentTestAndClear(index); }
8080

8181
WTF::BitSet<MarkedBlock::maxNumberOfLowerTierPreciseCells> m_lowerTierPreciseBits;
8282

‎Source/JavaScriptCore/heap/IsoCellSetInlines.h‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,5 @@ void IsoCellSet::forEachLiveCell(NOESCAPE const Func& func)
172172
});
173173
}
174174

175-
inline void IsoCellSet::clearLowerTierPreciseCell(unsigned index)
176-
{
177-
m_lowerTierPreciseBits.concurrentTestAndClear(index);
178-
}
179-
180175
} // namespace JSC
181176

0 commit comments

Comments
 (0)