diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-07-31 00:47:13 -0700 |
---|---|---|
committer | Gunnar Beutner <gunnar@beutner.name> | 2021-08-01 08:10:16 +0200 |
commit | 53166c10ca4eda08877852620b9c111bd3505f84 (patch) | |
tree | 374cb34d7e41d86ed6cd25921626c18183614e00 /Userland/Libraries/LibJS | |
parent | b10657a2b6e2109cd399965911f10001f2eb3094 (diff) | |
download | serenity-53166c10ca4eda08877852620b9c111bd3505f84.zip |
LibJS: Remove unused header includes
Diffstat (limited to 'Userland/Libraries/LibJS')
15 files changed, 0 insertions, 23 deletions
diff --git a/Userland/Libraries/LibJS/Bytecode/Generator.cpp b/Userland/Libraries/LibJS/Bytecode/Generator.cpp index 7d356588f3..c01e47e937 100644 --- a/Userland/Libraries/LibJS/Bytecode/Generator.cpp +++ b/Userland/Libraries/LibJS/Bytecode/Generator.cpp @@ -10,7 +10,6 @@ #include <LibJS/Bytecode/Instruction.h> #include <LibJS/Bytecode/Op.h> #include <LibJS/Bytecode/Register.h> -#include <LibJS/Forward.h> namespace JS::Bytecode { diff --git a/Userland/Libraries/LibJS/Bytecode/Op.cpp b/Userland/Libraries/LibJS/Bytecode/Op.cpp index 0eeaf70be3..15e03fca86 100644 --- a/Userland/Libraries/LibJS/Bytecode/Op.cpp +++ b/Userland/Libraries/LibJS/Bytecode/Op.cpp @@ -7,7 +7,6 @@ */ #include <AK/HashTable.h> -#include <LibJS/AST.h> #include <LibJS/Bytecode/Interpreter.h> #include <LibJS/Bytecode/Op.h> #include <LibJS/Runtime/Array.h> diff --git a/Userland/Libraries/LibJS/Bytecode/Pass/DumpCFG.cpp b/Userland/Libraries/LibJS/Bytecode/Pass/DumpCFG.cpp index 2d41134cfe..e40b1bff17 100644 --- a/Userland/Libraries/LibJS/Bytecode/Pass/DumpCFG.cpp +++ b/Userland/Libraries/LibJS/Bytecode/Pass/DumpCFG.cpp @@ -5,7 +5,6 @@ */ #include <LibJS/Bytecode/PassManager.h> -#include <stdio.h> namespace JS::Bytecode::Passes { diff --git a/Userland/Libraries/LibJS/Heap/BlockAllocator.cpp b/Userland/Libraries/LibJS/Heap/BlockAllocator.cpp index 5cdf228d30..a6f52234b9 100644 --- a/Userland/Libraries/LibJS/Heap/BlockAllocator.cpp +++ b/Userland/Libraries/LibJS/Heap/BlockAllocator.cpp @@ -6,10 +6,8 @@ #include <AK/Platform.h> #include <AK/Vector.h> -#include <LibJS/Forward.h> #include <LibJS/Heap/BlockAllocator.h> #include <LibJS/Heap/HeapBlock.h> -#include <stdlib.h> #include <sys/mman.h> #ifdef HAS_ADDRESS_SANITIZER diff --git a/Userland/Libraries/LibJS/Interpreter.cpp b/Userland/Libraries/LibJS/Interpreter.cpp index 1d8c29dbb7..e5d800042f 100644 --- a/Userland/Libraries/LibJS/Interpreter.cpp +++ b/Userland/Libraries/LibJS/Interpreter.cpp @@ -6,7 +6,6 @@ */ #include <AK/ScopeGuard.h> -#include <AK/StringBuilder.h> #include <LibJS/AST.h> #include <LibJS/Interpreter.h> #include <LibJS/Runtime/FunctionEnvironment.h> diff --git a/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp b/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp index 4d384eb276..395cd784a6 100644 --- a/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp +++ b/Userland/Libraries/LibJS/Runtime/AbstractOperations.cpp @@ -8,7 +8,6 @@ #include <AK/CharacterTypes.h> #include <AK/Function.h> #include <AK/Optional.h> -#include <AK/Result.h> #include <AK/TemporaryChange.h> #include <AK/Utf16View.h> #include <LibJS/Interpreter.h> diff --git a/Userland/Libraries/LibJS/Runtime/Date.cpp b/Userland/Libraries/LibJS/Runtime/Date.cpp index 048b0d4e3a..1e1950c7df 100644 --- a/Userland/Libraries/LibJS/Runtime/Date.cpp +++ b/Userland/Libraries/LibJS/Runtime/Date.cpp @@ -6,7 +6,6 @@ #include <AK/StringBuilder.h> #include <LibCore/DateTime.h> -#include <LibJS/Heap/Heap.h> #include <LibJS/Runtime/Date.h> #include <LibJS/Runtime/GlobalObject.h> #include <time.h> diff --git a/Userland/Libraries/LibJS/Runtime/FunctionPrototype.cpp b/Userland/Libraries/LibJS/Runtime/FunctionPrototype.cpp index a19f282333..f7e5f36155 100644 --- a/Userland/Libraries/LibJS/Runtime/FunctionPrototype.cpp +++ b/Userland/Libraries/LibJS/Runtime/FunctionPrototype.cpp @@ -6,7 +6,6 @@ #include <AK/Function.h> #include <AK/StringBuilder.h> -#include <LibJS/AST.h> #include <LibJS/Interpreter.h> #include <LibJS/Runtime/AbstractOperations.h> #include <LibJS/Runtime/BoundFunction.h> diff --git a/Userland/Libraries/LibJS/Runtime/Object.cpp b/Userland/Libraries/LibJS/Runtime/Object.cpp index fbe2eece4e..2323b6e00d 100644 --- a/Userland/Libraries/LibJS/Runtime/Object.cpp +++ b/Userland/Libraries/LibJS/Runtime/Object.cpp @@ -6,8 +6,6 @@ */ #include <AK/String.h> -#include <AK/TemporaryChange.h> -#include <LibJS/Heap/Heap.h> #include <LibJS/Interpreter.h> #include <LibJS/Runtime/AbstractOperations.h> #include <LibJS/Runtime/Accessor.h> diff --git a/Userland/Libraries/LibJS/Runtime/OrdinaryFunctionObject.cpp b/Userland/Libraries/LibJS/Runtime/OrdinaryFunctionObject.cpp index ce5f791580..f028276732 100644 --- a/Userland/Libraries/LibJS/Runtime/OrdinaryFunctionObject.cpp +++ b/Userland/Libraries/LibJS/Runtime/OrdinaryFunctionObject.cpp @@ -10,7 +10,6 @@ #include <LibJS/Bytecode/BasicBlock.h> #include <LibJS/Bytecode/Generator.h> #include <LibJS/Bytecode/Interpreter.h> -#include <LibJS/Bytecode/PassManager.h> #include <LibJS/Interpreter.h> #include <LibJS/Runtime/Array.h> #include <LibJS/Runtime/Error.h> diff --git a/Userland/Libraries/LibJS/Runtime/RegExpObject.cpp b/Userland/Libraries/LibJS/Runtime/RegExpObject.cpp index 9e2832667a..fb1f6e45f8 100644 --- a/Userland/Libraries/LibJS/Runtime/RegExpObject.cpp +++ b/Userland/Libraries/LibJS/Runtime/RegExpObject.cpp @@ -5,7 +5,6 @@ */ #include <AK/Function.h> -#include <LibJS/Heap/Heap.h> #include <LibJS/Runtime/GlobalObject.h> #include <LibJS/Runtime/PrimitiveString.h> #include <LibJS/Runtime/RegExpObject.h> diff --git a/Userland/Libraries/LibJS/Runtime/SetIteratorPrototype.cpp b/Userland/Libraries/LibJS/Runtime/SetIteratorPrototype.cpp index 50e4b46b67..a9ed348759 100644 --- a/Userland/Libraries/LibJS/Runtime/SetIteratorPrototype.cpp +++ b/Userland/Libraries/LibJS/Runtime/SetIteratorPrototype.cpp @@ -9,7 +9,6 @@ #include <LibJS/Runtime/Error.h> #include <LibJS/Runtime/GlobalObject.h> #include <LibJS/Runtime/IteratorOperations.h> -#include <LibJS/Runtime/Set.h> #include <LibJS/Runtime/SetIterator.h> #include <LibJS/Runtime/SetIteratorPrototype.h> diff --git a/Userland/Libraries/LibJS/Runtime/SymbolObject.cpp b/Userland/Libraries/LibJS/Runtime/SymbolObject.cpp index ad879e43c8..9dbbb836a9 100644 --- a/Userland/Libraries/LibJS/Runtime/SymbolObject.cpp +++ b/Userland/Libraries/LibJS/Runtime/SymbolObject.cpp @@ -4,12 +4,9 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <LibJS/Heap/Heap.h> #include <LibJS/Runtime/GlobalObject.h> #include <LibJS/Runtime/Symbol.h> #include <LibJS/Runtime/SymbolObject.h> -#include <LibJS/Runtime/SymbolPrototype.h> -#include <LibJS/Runtime/Value.h> namespace JS { diff --git a/Userland/Libraries/LibJS/Runtime/Value.cpp b/Userland/Libraries/LibJS/Runtime/Value.cpp index cf54fa09fc..4530e04a5b 100644 --- a/Userland/Libraries/LibJS/Runtime/Value.cpp +++ b/Userland/Libraries/LibJS/Runtime/Value.cpp @@ -6,15 +6,12 @@ */ #include <AK/AllOf.h> -#include <AK/FlyString.h> #include <AK/String.h> #include <AK/StringBuilder.h> #include <AK/Utf16View.h> #include <AK/Utf8View.h> #include <LibCrypto/BigInt/SignedBigInteger.h> #include <LibCrypto/NumberTheory/ModularFunctions.h> -#include <LibJS/Heap/Heap.h> -#include <LibJS/Runtime/AbstractOperations.h> #include <LibJS/Runtime/Accessor.h> #include <LibJS/Runtime/Array.h> #include <LibJS/Runtime/BigInt.h> @@ -31,7 +28,6 @@ #include <LibJS/Runtime/ProxyObject.h> #include <LibJS/Runtime/RegExpObject.h> #include <LibJS/Runtime/StringObject.h> -#include <LibJS/Runtime/Symbol.h> #include <LibJS/Runtime/SymbolObject.h> #include <LibJS/Runtime/Value.h> #include <math.h> diff --git a/Userland/Libraries/LibJS/SyntaxHighlighter.cpp b/Userland/Libraries/LibJS/SyntaxHighlighter.cpp index 5fd14f644f..173e9e41a4 100644 --- a/Userland/Libraries/LibJS/SyntaxHighlighter.cpp +++ b/Userland/Libraries/LibJS/SyntaxHighlighter.cpp @@ -5,8 +5,6 @@ */ #include <AK/Debug.h> -#include <LibGUI/TextEditor.h> -#include <LibGfx/Font.h> #include <LibGfx/Palette.h> #include <LibJS/Lexer.h> #include <LibJS/SyntaxHighlighter.h> |