Skip to content

Commit d2168c2

Browse files
mstarzingerCommit bot
authored andcommitted
Remove grab-bag includes of v8.h from runtime entries.
R=titzer@chromium.org Review URL: https://codereview.chromium.org/1293053004 Cr-Commit-Position: refs/heads/master@{#30232}
1 parent 10073c7 commit d2168c2

32 files changed

Lines changed: 67 additions & 68 deletions

src/json-parser.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@
77

88
#include "src/char-predicates.h"
99
#include "src/conversions.h"
10+
#include "src/factory.h"
1011
#include "src/messages.h"
12+
#include "src/scanner.h"
1113
#include "src/token.h"
14+
#include "src/transitions.h"
15+
#include "src/types.h"
1216

1317
namespace v8 {
1418
namespace internal {

src/json-stringifier.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#define V8_JSON_STRINGIFIER_H_
77

88
#include "src/conversions.h"
9+
#include "src/lookup.h"
910
#include "src/messages.h"
1011
#include "src/string-builder.h"
1112
#include "src/utils.h"

src/runtime/runtime-array.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
#include "src/v8.h"
5+
#include "src/runtime/runtime-utils.h"
66

77
#include "src/arguments.h"
8+
#include "src/conversions-inl.h"
89
#include "src/elements.h"
10+
#include "src/factory.h"
911
#include "src/messages.h"
10-
#include "src/runtime/runtime-utils.h"
12+
#include "src/prototype.h"
1113

1214
namespace v8 {
1315
namespace internal {

src/runtime/runtime-atomics.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
#include "src/v8.h"
5+
#include "src/runtime/runtime-utils.h"
66

77
#include "src/arguments.h"
88
#include "src/base/macros.h"
99
#include "src/base/platform/mutex.h"
10-
#include "src/conversions.h"
11-
#include "src/runtime/runtime-utils.h"
10+
#include "src/conversions-inl.h"
11+
#include "src/factory.h"
1212

1313
// Implement Atomic accesses to SharedArrayBuffers as defined in the
1414
// SharedArrayBuffer draft spec, found here

src/runtime/runtime-classes.cc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
#include "src/runtime/runtime-utils.h"
6+
57
#include <stdlib.h>
68
#include <limits>
79

8-
#include "src/v8.h"
9-
1010
#include "src/arguments.h"
1111
#include "src/debug/debug.h"
1212
#include "src/frames-inl.h"
1313
#include "src/messages.h"
1414
#include "src/runtime/runtime.h"
15-
#include "src/runtime/runtime-utils.h"
16-
1715

1816
namespace v8 {
1917
namespace internal {

src/runtime/runtime-collections.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
#include "src/v8.h"
6-
7-
#include "src/arguments.h"
85
#include "src/runtime/runtime-utils.h"
96

7+
#include "src/arguments.h"
8+
#include "src/conversions-inl.h"
9+
#include "src/factory.h"
1010

1111
namespace v8 {
1212
namespace internal {

src/runtime/runtime-compiler.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
#include "src/v8.h"
5+
#include "src/runtime/runtime-utils.h"
66

77
#include "src/arguments.h"
88
#include "src/compiler.h"
99
#include "src/deoptimizer.h"
1010
#include "src/frames-inl.h"
1111
#include "src/full-codegen/full-codegen.h"
1212
#include "src/messages.h"
13-
#include "src/runtime/runtime-utils.h"
1413
#include "src/v8threads.h"
1514
#include "src/vm-state-inl.h"
1615

src/runtime/runtime-date.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
#include "src/v8.h"
5+
#include "src/runtime/runtime-utils.h"
66

77
#include "src/arguments.h"
8+
#include "src/conversions-inl.h"
89
#include "src/date.h"
910
#include "src/dateparser-inl.h"
11+
#include "src/factory.h"
1012
#include "src/messages.h"
11-
#include "src/runtime/runtime-utils.h"
1213

1314
namespace v8 {
1415
namespace internal {

src/runtime/runtime-debug.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
#include "src/v8.h"
5+
#include "src/runtime/runtime-utils.h"
66

77
#include "src/arguments.h"
88
#include "src/debug/debug.h"
@@ -11,7 +11,6 @@
1111
#include "src/debug/debug-scopes.h"
1212
#include "src/frames-inl.h"
1313
#include "src/runtime/runtime.h"
14-
#include "src/runtime/runtime-utils.h"
1514

1615
namespace v8 {
1716
namespace internal {

src/runtime/runtime-forin.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
#include "src/arguments.h"
65
#include "src/runtime/runtime-utils.h"
7-
#include "src/v8.h"
6+
7+
#include "src/arguments.h"
8+
#include "src/objects-inl.h"
89

910
namespace v8 {
1011
namespace internal {

0 commit comments

Comments
 (0)