[iwyu] Wasm iwyu.
BUG=v8:7490,v8:7570 Change-Id: I74fa43a747b0d399c700acc43eb82e15ea90ba16 Reviewed-on: https://chromium-review.googlesource.com/1032736 Reviewed-by: Andreas Haas <ahaas@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Marja Hölttä <marja@chromium.org> Cr-Commit-Position: refs/heads/master@{#52876}
This commit is contained in:
parent
4d71565a2b
commit
98eebe1c8d
@ -7,6 +7,7 @@
|
||||
#include "src/arguments.h"
|
||||
#include "src/code-stubs.h"
|
||||
#include "src/conversions-inl.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/elements.h"
|
||||
#include "src/heap/factory.h"
|
||||
#include "src/isolate-inl.h"
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
#include "src/code-stubs.h"
|
||||
#include "src/counters.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/log.h"
|
||||
#include "src/macro-assembler.h"
|
||||
#include "src/objects-inl.h"
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "src/trap-handler/trap-handler.h"
|
||||
#include "src/wasm/compilation-manager.h"
|
||||
#include "src/wasm/module-decoder.h"
|
||||
#include "src/wasm/streaming-decoder.h"
|
||||
#include "src/wasm/wasm-code-manager.h"
|
||||
#include "src/wasm/wasm-code-specialization.h"
|
||||
#include "src/wasm/wasm-engine.h"
|
||||
|
@ -6,23 +6,33 @@
|
||||
#define V8_WASM_MODULE_COMPILER_H_
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
#include "src/base/atomic-utils.h"
|
||||
#include "src/cancelable-task.h"
|
||||
#include "src/isolate.h"
|
||||
|
||||
#include "src/wasm/module-decoder.h"
|
||||
#include "src/wasm/streaming-decoder.h"
|
||||
#include "src/globals.h"
|
||||
#include "src/wasm/wasm-module.h"
|
||||
#include "src/wasm/wasm-objects.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
|
||||
class JSArrayBuffer;
|
||||
class JSPromise;
|
||||
class Counters;
|
||||
class WasmModuleObject;
|
||||
class WasmInstanceObject;
|
||||
|
||||
template <typename T>
|
||||
class Vector;
|
||||
|
||||
namespace wasm {
|
||||
|
||||
class CompilationState;
|
||||
class ErrorThrower;
|
||||
class ModuleCompiler;
|
||||
class WasmCode;
|
||||
struct ModuleEnv;
|
||||
struct WasmModule;
|
||||
|
||||
struct CompilationStateDeleter {
|
||||
void operator()(CompilationState* compilation_state) const;
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include "src/wasm/decoder.h"
|
||||
#include "src/wasm/leb-helper.h"
|
||||
#include "src/wasm/module-decoder.h"
|
||||
#include "src/wasm/wasm-limits.h"
|
||||
#include "src/wasm/wasm-objects.h"
|
||||
#include "src/wasm/wasm-result.h"
|
||||
|
||||
|
@ -6,6 +6,9 @@
|
||||
|
||||
#include "src/objects-inl.h"
|
||||
#include "src/wasm/module-compiler.h"
|
||||
#include "src/wasm/module-decoder.h"
|
||||
#include "src/wasm/streaming-decoder.h"
|
||||
#include "src/wasm/wasm-objects.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
|
@ -5,6 +5,7 @@
|
||||
#ifndef V8_WASM_WASM_MEMORY_H_
|
||||
#define V8_WASM_WASM_MEMORY_H_
|
||||
|
||||
#include <atomic>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "src/base/platform/mutex.h"
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include "src/wasm/wasm-code-manager.h"
|
||||
#include "src/wasm/wasm-code-specialization.h"
|
||||
#include "src/wasm/wasm-engine.h"
|
||||
#include "src/wasm/wasm-limits.h"
|
||||
#include "src/wasm/wasm-memory.h"
|
||||
#include "src/wasm/wasm-module.h"
|
||||
#include "src/wasm/wasm-objects-inl.h"
|
||||
|
@ -8,15 +8,11 @@
|
||||
#include "src/base/bits.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/debug/interface-types.h"
|
||||
#include "src/objects.h"
|
||||
#include "src/objects/managed.h"
|
||||
#include "src/objects/script.h"
|
||||
#include "src/wasm/decoder.h"
|
||||
#include "src/wasm/wasm-interpreter.h"
|
||||
#include "src/wasm/wasm-limits.h"
|
||||
#include "src/wasm/wasm-module.h"
|
||||
|
||||
#include "src/heap/heap.h"
|
||||
#include "src/machine-type.h"
|
||||
#include "src/objects.h"
|
||||
#include "src/objects/script.h"
|
||||
#include "src/wasm/wasm-interpreter.h"
|
||||
|
||||
// Has to be the last include (doesn't have include guards)
|
||||
#include "src/objects/object-macros.h"
|
||||
@ -30,14 +26,22 @@ struct ModuleEnv;
|
||||
class WasmCode;
|
||||
struct WasmModule;
|
||||
class SignatureMap;
|
||||
class WireBytesRef;
|
||||
using ValueType = MachineRepresentation;
|
||||
using FunctionSig = Signature<ValueType>;
|
||||
} // namespace wasm
|
||||
|
||||
class BreakPoint;
|
||||
class JSArrayBuffer;
|
||||
class FixedArrayOfWeakCells;
|
||||
class SeqOneByteString;
|
||||
class WasmCompiledModule;
|
||||
class WasmDebugInfo;
|
||||
class WasmInstanceObject;
|
||||
|
||||
template <class CppType>
|
||||
class Managed;
|
||||
|
||||
#define DECL_OPTIONAL_ACCESSORS(name, type) \
|
||||
INLINE(bool has_##name()); \
|
||||
DECL_ACCESSORS(name, type)
|
||||
|
@ -6,7 +6,6 @@
|
||||
#define V8_WASM_WASM_OPCODES_H_
|
||||
|
||||
#include "src/globals.h"
|
||||
#include "src/runtime/runtime.h"
|
||||
#include "src/wasm/value-type.h"
|
||||
#include "src/wasm/wasm-constants.h"
|
||||
|
||||
|
@ -19,6 +19,9 @@ namespace internal {
|
||||
template <typename T>
|
||||
class Handle;
|
||||
|
||||
template <typename T>
|
||||
class MaybeHandle;
|
||||
|
||||
namespace wasm {
|
||||
namespace testing {
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include "src/wasm/wasm-engine.h"
|
||||
#include "src/wasm/wasm-module-builder.h"
|
||||
#include "src/wasm/wasm-module.h"
|
||||
#include "src/wasm/wasm-objects.h"
|
||||
#include "src/zone/accounting-allocator.h"
|
||||
#include "src/zone/zone.h"
|
||||
#include "test/common/wasm/flag-utils.h"
|
||||
|
Loading…
Reference in New Issue
Block a user