Repository navigation
Commit 03ee1c8
committed
[Build Speed] Inlines hygiene: Move inlines out of type definition .h files
https://bugs.webkit.org/show_bug.cgi?id=317098
rdar://179660972
Reviewed by Mike Wyrzykowski.
This is preparation for expanding prefix headers.
Too many inlines in a header explode precompiled headers and also require
lots more symbols to be exported.
Also added some clang vtable workarounds where needed.
* Source/JavaScriptCore/CMakeLists.txt: Added our new headers.
* Source/JavaScriptCore/bytecode/CodeBlock.cpp
* Source/JavaScriptCore/bytecode/GetByStatus.cpp
* Source/JavaScriptCore/bytecode/RepatchInlines.h: Added missing headers.
* Source/JavaScriptCore/bytecode/TypeLocation.h
* Source/JavaScriptCore/bytecode/TypeLocationInlines.h: Move function out of
line to reduce dependencies.
* Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp: Added missing headers.
* Source/JavaScriptCore/heap/AbstractSlotVisitor.h
* Source/JavaScriptCore/heap/AbstractSlotVisitorInlines.h: Move function out of
line to reduce dependencies.
* Source/JavaScriptCore/heap/SlotVisitor.h
* Source/JavaScriptCore/heap/SlotVisitorInlines.h: Move function out of
line to reduce dependencies.
* Source/JavaScriptCore/jit/JITOperations.cpp
* Source/JavaScriptCore/parser/Parser.cpp
* Source/JavaScriptCore/parser/VariableEnvironment.cpp: Added missing headers.
* Source/JavaScriptCore/parser/VariableEnvironment.h
* Source/JavaScriptCore/parser/VariableEnvironmentInlines.h
* Source/JavaScriptCore/runtime/CacheableIdentifier.h
* Source/JavaScriptCore/runtime/CacheableIdentifierInlines.h: Move function out of
line to reduce dependencies.
* Source/JavaScriptCore/runtime/CachedTypes.cpp
* Source/JavaScriptCore/runtime/CodeCache.cpp
* Source/JavaScriptCore/runtime/CyclicModuleRecord.cpp: Added missing headers.
* Source/JavaScriptCore/runtime/DeferredWorkTimer.h
* Source/JavaScriptCore/runtime/DeferredWorkTimerInlines.h
* Source/JavaScriptCore/runtime/ErrorInstance.h
* Source/JavaScriptCore/runtime/ErrorInstanceInlines.h
* Source/JavaScriptCore/runtime/Identifier.h
* Source/JavaScriptCore/runtime/IdentifierInlines.h
* Source/JavaScriptCore/runtime/JSBigInt.h
* Source/JavaScriptCore/runtime/JSBigIntInlines.h
* Source/JavaScriptCore/runtime/JSCellInlines.h
* Source/JavaScriptCore/runtime/JSGlobalObject.h
* Source/JavaScriptCore/runtime/JSGlobalObjectInlines.h:
* Source/JavaScriptCore/runtime/JSObject.h
* Source/JavaScriptCore/runtime/JSObjectInlines.h: Move function out of
line to reduce dependencies.
* Source/JavaScriptCore/runtime/JSRunLoopTimer.cpp
* Source/JavaScriptCore/runtime/JSRunLoopTimer.h: Out of line destructor
to work around clang vtable bug.
* Source/JavaScriptCore/runtime/JSScope.cpp
* Source/JavaScriptCore/runtime/JSScope.h
* Source/JavaScriptCore/runtime/JSScopeInlines.h
* Source/JavaScriptCore/runtime/JSSegmentedVariableObject.h
* Source/JavaScriptCore/runtime/LazyClassStructure.h
* Source/JavaScriptCore/runtime/LazyClassStructureInlines.h: Move function out of
line to reduce dependencies.
* Source/JavaScriptCore/runtime/ProgramExecutable.cpp: Added missing include.
* Source/JavaScriptCore/runtime/PropertyName.h
* Source/JavaScriptCore/runtime/PropertyNameInlines.h
* Source/JavaScriptCore/runtime/ScopedArgumentsTable.h
* Source/JavaScriptCore/runtime/Structure.h
* Source/JavaScriptCore/runtime/StructureInlines.h
* Source/JavaScriptCore/runtime/SymbolTable.cpp
* Source/JavaScriptCore/runtime/SymbolTable.h
* Source/JavaScriptCore/runtime/SymbolTableInlines.h: Move function out of
line to reduce dependencies.
* Source/JavaScriptCore/runtime/TypeProfiler.cpp
* Source/JavaScriptCore/runtime/VM.cpp: Added missing include.
* Source/WTF/wtf/text/StringImpl.h: Export our destructor so it can be called
by WebCore/WebKit prefix header code.
* Source/WebCore/bindings/scripts/CodeGeneratorJS.pm: clang vtable workaround for
weak handle owners.
* Source/WebCore/dom/ContainerNode.cpp
* Source/WebCore/dom/ContainerNode.h
* Source/WebCore/dom/ContainerNodeInlines.h
* Source/WebCore/dom/Element.cpp
* Source/WebCore/dom/Element.h
* Source/WebCore/dom/ElementInlines.h
* Source/WebCore/dom/Node.cpp
* Source/WebCore/dom/Node.h
* Source/WebCore/dom/NodeInlines.h: Move function out of
line to reduce dependencies.
* Source/WebCore/html/HTMLElement.cpp
* Source/WebCore/html/HTMLElement.h: Added a clang vtable workaround for WebKit includers.
* Source/WebCore/platform/network/HTTPHeaderMap.h: Export symbol used by WebKit prefix header.
* Source/WebCore/platform/network/ResourceErrorBase.cpp
* Source/WebCore/platform/network/ResourceErrorBase.h: Out of line comparison because
it is non-trivial and out of line is the easiest way to avoid exporting dependencies.
* Source/WebKit/Platform/IPC/MessageSender.cpp
* Source/WebKit/Platform/IPC/MessageSender.h: Added clang vtable workaround.
Canonical link: https://commits.webkit.org/315226@main1 parent 6c2b586 commit 03ee1c8
262 files changed
Lines changed: 1778 additions & 706 deletions
File tree
- Source
- JavaScriptCore
- JavaScriptCore.xcodeproj
- SaferCPPExpectations
- bytecode
- bytecompiler
- dfg
- heap
- jit
- llint
- parser
- runtime
- wasm/js
- WTF/wtf/text
- WebCore
- Modules/mediasession
- SaferCPPExpectations
- WebCore.xcodeproj
- bindings/scripts
- test/JS
- css
- dom
- html
- canvas
- inspector
- loader
- mathml
- page
- platform/network
- rendering/mathml
- style
- WebKit/Platform/IPC
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
728 | 728 | | |
729 | 729 | | |
730 | 730 | | |
| 731 | + | |
731 | 732 | | |
732 | 733 | | |
733 | 734 | | |
| |||
827 | 828 | | |
828 | 829 | | |
829 | 830 | | |
| 831 | + | |
830 | 832 | | |
831 | 833 | | |
832 | 834 | | |
| |||
1017 | 1019 | | |
1018 | 1020 | | |
1019 | 1021 | | |
| 1022 | + | |
1020 | 1023 | | |
1021 | 1024 | | |
1022 | 1025 | | |
| |||
1273 | 1276 | | |
1274 | 1277 | | |
1275 | 1278 | | |
| 1279 | + | |
1276 | 1280 | | |
1277 | 1281 | | |
1278 | 1282 | | |
| |||
1306 | 1310 | | |
1307 | 1311 | | |
1308 | 1312 | | |
| 1313 | + | |
1309 | 1314 | | |
| 1315 | + | |
1310 | 1316 | | |
1311 | 1317 | | |
1312 | 1318 | | |
| |||
1353 | 1359 | | |
1354 | 1360 | | |
1355 | 1361 | | |
| 1362 | + | |
1356 | 1363 | | |
1357 | 1364 | | |
1358 | 1365 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 42 | + | |
49 | 43 | | |
50 | 44 | | |
51 | 45 | | |
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
0 commit comments