[cleanup] Fix more header includes to allow individual compilation

Fixes:
  src/objects/intl-objects-inl.h
  src/objects/js-collection.h
  src/objects/js-collection-inl.h
  src/objects/js-regexp-string-iterator-inl.h
  src/objects/microtask-inl.h
  src/objects/module-inl.h
  src/objects/ordered-hash-table-inl.h
  src/objects/promise-inl.h

Bug: v8:7754,v8:7490
Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
Change-Id: Id5a5017713fa9920add2b38dbc56ab74abd4addd
Reviewed-on: https://chromium-review.googlesource.com/1152732
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54748}
This commit is contained in:
Peter Marshall 2018-07-27 10:32:05 +02:00 committed by Commit Bot
parent 6a41721a28
commit 558cfa099e
8 changed files with 14 additions and 9 deletions

View File

@ -7,6 +7,8 @@
#include "src/objects/intl-objects.h"
#include "src/objects-inl.h"
namespace v8 {
namespace internal {

View File

@ -7,6 +7,8 @@
#include "src/objects/js-collection.h"
#include "src/objects-inl.h" // Needed for write barriers
// Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h"

View File

@ -6,6 +6,7 @@
#define V8_OBJECTS_JS_COLLECTION_H_
#include "src/objects.h"
#include "src/objects/ordered-hash-table.h"
// Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h"

View File

@ -7,6 +7,8 @@
#include "src/objects/js-regexp-string-iterator.h"
#include "src/objects-inl.h" // Needed for write barriers
// Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h"

View File

@ -7,6 +7,8 @@
#include "src/objects/microtask.h"
#include "src/objects-inl.h" // Needed for write barriers
// Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h"

View File

@ -6,6 +6,8 @@
#define V8_OBJECTS_MODULE_INL_H_
#include "src/objects/module.h"
#include "src/objects-inl.h" // Needed for write barriers
#include "src/objects/scope-info.h"
// Has to be the last include (doesn't have include guards):

View File

@ -5,9 +5,11 @@
#ifndef V8_OBJECTS_ORDERED_HASH_TABLE_INL_H_
#define V8_OBJECTS_ORDERED_HASH_TABLE_INL_H_
#include "src/heap/heap.h"
#include "src/objects/ordered-hash-table.h"
#include "src/heap/heap.h"
#include "src/objects/fixed-array-inl.h"
namespace v8 {
namespace internal {

View File

@ -61,14 +61,6 @@ AUTO_EXCLUDE = [
'src/lookup.h',
'src/lookup-inl.h',
'src/map-updater.h',
'src/objects/intl-objects-inl.h',
'src/objects/js-collection.h',
'src/objects/js-collection-inl.h',
'src/objects/js-regexp-string-iterator-inl.h',
'src/objects/microtask-inl.h',
'src/objects/module-inl.h',
'src/objects/ordered-hash-table-inl.h',
'src/objects/promise-inl.h',
'src/objects/property-descriptor-object.h',
'src/objects/prototype-info-inl.h',
'src/objects/regexp-match-info.h',