Commit 80e0a759 authored by Marja Hölttä's avatar Marja Hölttä Committed by Commit Bot

[iwyu] More iwyu fixes (date, execution etc.)

Removing includes which are not needed and also not indirectly pulled in.

BUG=v8:7490, v8:7310

Change-Id: I219ba92c3281c3c245cc6c5574c85c2d51a217a9
Reviewed-on: https://chromium-review.googlesource.com/934722Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51550}
parent f352bbdc
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#ifndef V8_API_NATIVES_H_ #ifndef V8_API_NATIVES_H_
#define V8_API_NATIVES_H_ #define V8_API_NATIVES_H_
#include "include/v8.h"
#include "src/base/macros.h"
#include "src/handles.h" #include "src/handles.h"
#include "src/property-details.h" #include "src/property-details.h"
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
#ifndef V8_DATE_H_ #ifndef V8_DATE_H_
#define V8_DATE_H_ #define V8_DATE_H_
#include "src/allocation.h"
#include "src/base/platform/platform.h"
#include "src/base/timezone-cache.h" #include "src/base/timezone-cache.h"
#include "src/globals.h" #include "src/globals.h"
......
...@@ -5,11 +5,8 @@ ...@@ -5,11 +5,8 @@
#ifndef V8_EXECUTION_H_ #ifndef V8_EXECUTION_H_
#define V8_EXECUTION_H_ #define V8_EXECUTION_H_
#include "src/allocation.h"
#include "src/base/atomicops.h" #include "src/base/atomicops.h"
#include "src/globals.h" #include "src/globals.h"
#include "src/objects/code.h"
#include "src/utils.h"
namespace v8 { namespace v8 {
namespace internal { namespace internal {
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include "src/objects.h" #include "src/objects.h"
#include "src/objects/map.h" #include "src/objects/map.h"
#include "src/ostreams.h"
namespace v8 { namespace v8 {
namespace internal { namespace internal {
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
#ifndef V8_FRAMES_H_ #ifndef V8_FRAMES_H_
#define V8_FRAMES_H_ #define V8_FRAMES_H_
#include "src/allocation.h"
#include "src/flags.h"
#include "src/handles.h" #include "src/handles.h"
#include "src/objects.h" #include "src/objects.h"
#include "src/objects/code.h" #include "src/objects/code.h"
...@@ -18,21 +16,20 @@ namespace wasm { ...@@ -18,21 +16,20 @@ namespace wasm {
class WasmCode; class WasmCode;
} }
// Forward declarations.
class AbstractCode; class AbstractCode;
class Debug; class Debug;
class ObjectVisitor;
class StringStream;
// Forward declarations.
class ExternalCallbackScope; class ExternalCallbackScope;
class Isolate; class Isolate;
class ObjectVisitor;
class RootVisitor; class RootVisitor;
class StackFrameIteratorBase; class StackFrameIteratorBase;
class StringStream;
class ThreadLocalTop; class ThreadLocalTop;
class WasmCompiledModule;
class WasmDebugInfo;
class WasmInstanceObject; class WasmInstanceObject;
class WasmSharedModuleData; class WasmSharedModuleData;
class WasmDebugInfo;
class WasmCompiledModule;
class InnerPointerToCodeCache { class InnerPointerToCodeCache {
public: public:
......
...@@ -7,7 +7,11 @@ ...@@ -7,7 +7,11 @@
#include <iosfwd> #include <iosfwd>
#include "src/factory.h" #include "src/globals.h"
#include "src/handles.h"
#include "src/objects.h"
#include "src/objects/name.h"
#include "src/property-details.h"
namespace v8 { namespace v8 {
namespace internal { namespace internal {
......
...@@ -5,10 +5,13 @@ ...@@ -5,10 +5,13 @@
#ifndef V8_V8_H_ #ifndef V8_V8_H_
#define V8_V8_H_ #define V8_V8_H_
#include "include/v8.h"
#include "src/globals.h" #include "src/globals.h"
namespace v8 { namespace v8 {
class Platform;
class StartupData;
namespace internal { namespace internal {
class V8 : public AllStatic { class V8 : public AllStatic {
......
...@@ -5,12 +5,16 @@ ...@@ -5,12 +5,16 @@
#ifndef V8_VERSION_H_ #ifndef V8_VERSION_H_
#define V8_VERSION_H_ #define V8_VERSION_H_
#include <cstdint>
#include "src/base/functional.h" #include "src/base/functional.h"
#include "src/vector.h"
namespace v8 { namespace v8 {
namespace internal { namespace internal {
template <typename T>
class Vector;
class Version { class Version {
public: public:
// Return the various version components. // Return the various version components.
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#define V8_ZONE_ACCOUNTING_ALLOCATOR_H_ #define V8_ZONE_ACCOUNTING_ALLOCATOR_H_
#include "include/v8-platform.h" #include "include/v8-platform.h"
#include "include/v8.h"
#include "src/base/atomic-utils.h" #include "src/base/atomic-utils.h"
#include "src/base/atomicops.h" #include "src/base/atomicops.h"
#include "src/base/macros.h" #include "src/base/macros.h"
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#ifndef V8_TEST_CCTEST_PRINT_EXTENSION_H_ #ifndef V8_TEST_CCTEST_PRINT_EXTENSION_H_
#define V8_TEST_CCTEST_PRINT_EXTENSION_H_ #define V8_TEST_CCTEST_PRINT_EXTENSION_H_
#include "src/v8.h" #include "include/v8.h"
namespace v8 { namespace v8 {
namespace internal { namespace internal {
......
...@@ -28,7 +28,8 @@ ...@@ -28,7 +28,8 @@
#ifndef V8_TEST_CCTEST_TRACE_EXTENSION_H_ #ifndef V8_TEST_CCTEST_TRACE_EXTENSION_H_
#define V8_TEST_CCTEST_TRACE_EXTENSION_H_ #define V8_TEST_CCTEST_TRACE_EXTENSION_H_
#include "src/v8.h" #include "include/v8.h"
#include "src/globals.h"
namespace v8 { namespace v8 {
struct TickSample; struct TickSample;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment