Commit 8461269
committed
[JSC]
https://bugs.webkit.org/show_bug.cgi?id=290251
Reviewed by Yusuke Suzuki.
`DEFINE_VISIT_AGGREGATE` defines not-ininlined functions[1], so it should be used in source file.
However, it is used in `StringReplaceCacheInlines.h`. This patch fixes it.
[1]: https://github.com/WebKit/WebKit/blob/b12ed39572951123a4b5a99c471e0262e9481001/Source/JavaScriptCore/heap/SlotVisitorMacros.h#L54-L60
* Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:
* Source/JavaScriptCore/Sources.txt:
* Source/JavaScriptCore/runtime/StringReplaceCache.cpp: Added.
(JSC::StringReplaceCache::visitAggregateImpl):
* Source/JavaScriptCore/runtime/StringReplaceCacheInlines.h:
(JSC::StringReplaceCache::visitAggregateImpl): Deleted.
Canonical link: https://commits.webkit.org/292554@mainDEFINE_VISIT_AGGREGATE for StringReplaceaCache should be used in source file1 parent 409c930 commit 8461269
4 files changed
Lines changed: 45 additions & 11 deletions
File tree
- Source/JavaScriptCore
- JavaScriptCore.xcodeproj
- runtime
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4817 | 4817 | | |
4818 | 4818 | | |
4819 | 4819 | | |
| 4820 | + | |
4820 | 4821 | | |
4821 | 4822 | | |
4822 | 4823 | | |
| |||
8895 | 8896 | | |
8896 | 8897 | | |
8897 | 8898 | | |
| 8899 | + | |
8898 | 8900 | | |
8899 | 8901 | | |
8900 | 8902 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1059 | 1059 | | |
1060 | 1060 | | |
1061 | 1061 | | |
| 1062 | + | |
1062 | 1063 | | |
1063 | 1064 | | |
1064 | 1065 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
Lines changed: 0 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 92 | | |
0 commit comments