Commit 558cfa09 authored by Peter Marshall's avatar Peter Marshall Committed by Commit Bot

[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/1152732Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54748}
parent 6a41721a
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
#include "src/objects/intl-objects.h" #include "src/objects/intl-objects.h"
#include "src/objects-inl.h"
namespace v8 { namespace v8 {
namespace internal { namespace internal {
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
#include "src/objects/js-collection.h" #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): // Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h" #include "src/objects/object-macros.h"
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#define V8_OBJECTS_JS_COLLECTION_H_ #define V8_OBJECTS_JS_COLLECTION_H_
#include "src/objects.h" #include "src/objects.h"
#include "src/objects/ordered-hash-table.h"
// Has to be the last include (doesn't have include guards): // Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h" #include "src/objects/object-macros.h"
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
#include "src/objects/js-regexp-string-iterator.h" #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): // Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h" #include "src/objects/object-macros.h"
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
#include "src/objects/microtask.h" #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): // Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h" #include "src/objects/object-macros.h"
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
#define V8_OBJECTS_MODULE_INL_H_ #define V8_OBJECTS_MODULE_INL_H_
#include "src/objects/module.h" #include "src/objects/module.h"
#include "src/objects-inl.h" // Needed for write barriers
#include "src/objects/scope-info.h" #include "src/objects/scope-info.h"
// Has to be the last include (doesn't have include guards): // Has to be the last include (doesn't have include guards):
......
...@@ -5,9 +5,11 @@ ...@@ -5,9 +5,11 @@
#ifndef V8_OBJECTS_ORDERED_HASH_TABLE_INL_H_ #ifndef V8_OBJECTS_ORDERED_HASH_TABLE_INL_H_
#define 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/objects/ordered-hash-table.h"
#include "src/heap/heap.h"
#include "src/objects/fixed-array-inl.h"
namespace v8 { namespace v8 {
namespace internal { namespace internal {
......
...@@ -61,14 +61,6 @@ AUTO_EXCLUDE = [ ...@@ -61,14 +61,6 @@ AUTO_EXCLUDE = [
'src/lookup.h', 'src/lookup.h',
'src/lookup-inl.h', 'src/lookup-inl.h',
'src/map-updater.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/property-descriptor-object.h',
'src/objects/prototype-info-inl.h', 'src/objects/prototype-info-inl.h',
'src/objects/regexp-match-info.h', 'src/objects/regexp-match-info.h',
......
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