Changeset 265142 in webkit
- Timestamp:
- Jul 31, 2020 9:00:27 AM (4 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r265136 r265142 1 2020-07-31 Keith Miller <keith_miller@apple.com> 2 3 Reduce over include usage in JSC 4 https://bugs.webkit.org/show_bug.cgi?id=215010 5 6 Reviewed by Mark Lam. 7 8 My first attempt to fix 9 https://bugs.webkit.org/show_bug.cgi?id=215009 by making it so we 10 don't include FastJITPermissions.h in TestWebKitAPI, was 11 unsuccessful. Mostly because I gave up after several hours of 12 building... I figure it's still worth it to land the last working 13 version I was able to get building. 14 15 * assembler/MacroAssemblerCodeRef.h: 16 * bytecode/CodeBlock.cpp: 17 * bytecode/PolymorphicAccess.h: 18 * inspector/agents/InspectorRuntimeAgent.cpp: 19 * interpreter/CallFrame.h: 20 * jit/ThunkGenerators.cpp: 21 * llint/LLIntOffsetsExtractor.cpp: 22 * runtime/TypeLocationCache.cpp: 23 * runtime/VM.cpp: 24 (JSC::VM::getCTIStub): 25 * runtime/VM.h: 26 (JSC::VM::getCTIStub): Deleted. 27 * tools/JSDollarVM.cpp: 28 1 29 2020-07-31 Yusuke Suzuki <ysuzuki@apple.com> 2 30 -
trunk/Source/JavaScriptCore/assembler/MacroAssemblerCodeRef.h
r264488 r265142 26 26 #pragma once 27 27 28 #include "ExecutableAllocator.h"29 28 #include "JSCPtrTag.h" 30 29 #include <wtf/DataLog.h> 30 #include <wtf/MetaAllocatorHandle.h> 31 31 #include <wtf/PrintStream.h> 32 32 #include <wtf/RefPtr.h> … … 55 55 namespace JSC { 56 56 57 typedef WTF::MetaAllocatorHandle ExecutableMemoryHandle; 57 58 template<PtrTag> class MacroAssemblerCodePtr; 58 59 -
trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
r265000 r265142 40 40 #include "CodeBlockInlines.h" 41 41 #include "CodeBlockSet.h" 42 #include "ControlFlowProfiler.h" 42 43 #include "DFGCapabilities.h" 43 44 #include "DFGCommon.h" -
trunk/Source/JavaScriptCore/bytecode/PolymorphicAccess.h
r263134 r265142 40 40 } 41 41 42 class CCallHelpers; 42 43 class CodeBlock; 43 44 class PolymorphicAccess; -
trunk/Source/JavaScriptCore/inspector/agents/InspectorRuntimeAgent.cpp
r261755 r265142 34 34 35 35 #include "Completion.h" 36 #include "ControlFlowProfiler.h" 36 37 #include "InjectedScript.h" 37 38 #include "InjectedScriptHost.h" -
trunk/Source/JavaScriptCore/interpreter/CallFrame.cpp
r264051 r265142 33 33 #include "JSWebAssemblyInstance.h" 34 34 #include "LLIntPCRanges.h" 35 #include "VMEntryRecord.h" 35 36 #include "WasmContextInlines.h" 36 37 #include "WasmInstance.h" -
trunk/Source/JavaScriptCore/interpreter/CallFrame.h
r264051 r265142 29 29 #include "StackVisitor.h" 30 30 #include "VM.h" 31 #include "VMEntryRecord.h"32 31 #include <wtf/EnumClassOperatorOverloads.h> 33 32 -
trunk/Source/JavaScriptCore/jit/ThunkGenerators.cpp
r263134 r265142 28 28 29 29 #include "JITOperations.h" 30 #include "JITThunks.h" 30 31 #include "JSBoundFunction.h" 31 32 #include "MaxFrameExtentForSlowPathCall.h" -
trunk/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp
r262613 r265142 32 32 #include "CodeBlock.h" 33 33 #include "CommonSlowPaths.h" 34 #include "ControlFlowProfiler.h" 34 35 #include "DirectArguments.h" 35 36 #include "DirectEvalExecutable.h" -
trunk/Source/JavaScriptCore/runtime/TypeLocationCache.cpp
r212365 r265142 28 28 #include "TypeLocationCache.h" 29 29 30 #include "ControlFlowProfiler.h" 30 31 #include "TypeProfiler.h" 31 32 #include "VM.h" -
trunk/Source/JavaScriptCore/runtime/VM.cpp
r264696 r265142 41 41 #include "CodeCache.h" 42 42 #include "CommonIdentifiers.h" 43 #include "ControlFlowProfiler.h" 43 44 #include "CustomGetterSetter.h" 44 45 #include "DFGWorklist.h" … … 75 76 #include "IsoInlinedHeapCellType.h" 76 77 #include "JITCode.h" 78 #include "JITThunks.h" 77 79 #include "JITWorklist.h" 78 80 #include "JSAPIGlobalObject.h" … … 791 793 } 792 794 795 MacroAssemblerCodeRef<JITThunkPtrTag> VM::getCTIStub(ThunkGenerator generator) 796 { 797 return jitStubs->ctiStub(*this, generator); 798 } 799 793 800 #endif // ENABLE(JIT) 794 801 -
trunk/Source/JavaScriptCore/runtime/VM.h
r264696 r265142 33 33 #include "CompleteSubspace.h" 34 34 #include "ConcurrentJSLock.h" 35 #include "ControlFlowProfiler.h"36 35 #include "DateInstanceCache.h" 37 36 #include "DeleteAllCodeEffort.h" 38 37 #include "DisallowVMEntry.h" 39 38 #include "ExceptionEventLocation.h" 40 #include "ExecutableAllocator.h"41 39 #include "FunctionHasExecutedCache.h" 42 40 #include "FuzzerAgent.h" … … 46 44 #include "IsoCellSet.h" 47 45 #include "IsoSubspace.h" 48 #include "JITThunks.h"49 46 #include "JSCJSValue.h" 50 47 #include "JSLock.h" … … 56 53 #include "StructureCache.h" 57 54 #include "SubspaceAccess.h" 55 #include "ThunkGenerator.h" 58 56 #include "VMTraps.h" 59 57 #include "WasmContext.h" … … 103 101 namespace JSC { 104 102 103 class BasicBlockLocation; 105 104 class BuiltinExecutables; 106 105 class BytecodeIntrinsicRegistry; … … 112 111 class CompactVariableMap; 113 112 class ConservativeRoots; 113 class ControlFlowProfiler; 114 114 class CustomGetterSetter; 115 115 class DOMAttributeGetterSetter; … … 121 121 class GigacageAlignedMemoryAllocator; 122 122 class HandleStack; 123 class TypeProfiler;124 class TypeProfilerLog;125 123 class HasOwnPropertyCache; 126 124 class HeapProfiler; … … 159 157 class JSWebAssemblyModule; 160 158 class JSWebAssemblyTable; 159 class JITThunks; 161 160 class LLIntOffsetsExtractor; 162 161 class NativeExecutable; … … 189 188 class VMEntryScope; 190 189 class TopLevelGlobalObjectScope; 190 class TypeProfiler; 191 class TypeProfilerLog; 191 192 class Watchdog; 192 193 class Watchpoint; … … 815 816 #if ENABLE(JIT) 816 817 std::unique_ptr<JITThunks> jitStubs; 817 MacroAssemblerCodeRef<JITThunkPtrTag> getCTIStub(ThunkGenerator generator) 818 { 819 return jitStubs->ctiStub(*this, generator); 820 } 818 MacroAssemblerCodeRef<JITThunkPtrTag> getCTIStub(ThunkGenerator); 821 819 822 820 #endif // ENABLE(JIT) -
trunk/Source/JavaScriptCore/tools/JSDollarVM.cpp
r264736 r265142 30 30 #include "BuiltinNames.h" 31 31 #include "CodeBlock.h" 32 #include "ControlFlowProfiler.h" 32 33 #include "DOMAttributeGetterSetter.h" 33 34 #include "DOMJITGetterSetter.h"
Note: See TracChangeset
for help on using the changeset viewer.