[iwyu] runtime.h doesn't need objects.h

BUG=v8:5294
R=mstarzinger@chromium.org

Review-Url: https://codereview.chromium.org/2675233002
Cr-Commit-Position: refs/heads/master@{#42963}
This commit is contained in:
marja 2017-02-06 04:26:31 -08:00 committed by Commit bot
parent d1e5676026
commit 35a82866d7
5 changed files with 18 additions and 14 deletions

View File

@ -19,6 +19,7 @@
#include "src/compiler/state-values-utils.h"
#include "src/objects-inl.h"
#include "src/objects/literal-objects.h"
#include "src/type-feedback-vector.h"
namespace v8 {
namespace internal {

View File

@ -7,14 +7,18 @@
#include "src/base/compiler-specific.h"
#include "src/globals.h"
#include "src/handles.h"
#include "src/runtime/runtime.h"
#include "src/type-hints.h"
namespace v8 {
namespace internal {
class AllocationSite;
class BoilerplateDescription;
class ConstantElementsPair;
class SharedFunctionInfo;
class TypeFeedbackVector;
namespace compiler {

View File

@ -1321,6 +1321,18 @@ enum class DataPropertyInLiteralFlag {
typedef base::Flags<DataPropertyInLiteralFlag> DataPropertyInLiteralFlags;
DEFINE_OPERATORS_FOR_FLAGS(DataPropertyInLiteralFlags)
enum ExternalArrayType {
kExternalInt8Array = 1,
kExternalUint8Array,
kExternalInt16Array,
kExternalUint16Array,
kExternalInt32Array,
kExternalUint32Array,
kExternalFloat32Array,
kExternalFloat64Array,
kExternalUint8ClampedArray,
};
} // namespace internal
} // namespace v8

View File

@ -188,19 +188,6 @@ enum MutableMode {
};
enum ExternalArrayType {
kExternalInt8Array = 1,
kExternalUint8Array,
kExternalInt16Array,
kExternalUint16Array,
kExternalInt32Array,
kExternalUint32Array,
kExternalFloat32Array,
kExternalFloat64Array,
kExternalUint8ClampedArray,
};
static inline bool IsTransitionStoreMode(KeyedAccessStoreMode store_mode) {
return store_mode == STORE_TRANSITION_TO_OBJECT ||
store_mode == STORE_TRANSITION_TO_DOUBLE ||

View File

@ -9,8 +9,8 @@
#include "src/allocation.h"
#include "src/base/platform/time.h"
#include "src/elements-kind.h"
#include "src/globals.h"
#include "src/objects.h"
#include "src/unicode.h"
#include "src/zone/zone.h"