#ifndef V8_V8_DEBUG_H_
#define V8_V8_DEBUG_H_
-#include "v8.h"
+#include "v8.h" // NOLINT(build/include)
/**
* Debugger support for the V8 JavaScript engine.
#define V8_V8_PROFILER_H_
#include <vector>
-#include "v8.h"
+#include "v8.h" // NOLINT(build/include)
/**
* Profiler support for the V8 JavaScript engine.
#ifndef V8_V8_TEST_H_
#define V8_V8_TEST_H_
-#include "v8.h"
+#include "v8.h" // NOLINT(build/include)
/**
* Testing support for the V8 JavaScript engine.
#ifndef V8_UTIL_H_
#define V8_UTIL_H_
-#include "v8.h"
+#include "v8.h" // NOLINT(build/include)
#include <map>
#include <vector>
#include <stdint.h>
#include <stdio.h>
-#include "v8-version.h"
-#include "v8config.h"
+#include "v8-version.h" // NOLINT(build/include)
+#include "v8config.h" // NOLINT(build/include)
// We reserve the V8_* prefix for macros defined in V8 public API and
// assume there are no name conflicts with the embedder's code.
// modified significantly by Google Inc.
// Copyright 2012 the V8 project authors. All rights reserved.
+#include "src/arm/assembler-arm.h"
+
#if V8_TARGET_ARCH_ARM
#include "src/arm/assembler-arm-inl.h"
#include "src/regexp/regexp-macro-assembler.h"
#include "src/runtime/runtime.h"
+#include "src/arm/code-stubs-arm.h"
+
namespace v8 {
namespace internal {
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/arm/codegen-arm.h"
+
#if V8_TARGET_ARCH_ARM
#include "src/arm/simulator-arm.h"
#include "src/arm/assembler-arm-inl.h"
#include "src/arm/assembler-arm.h"
+#include "src/arm/frames-arm.h"
#include "src/arm/macro-assembler-arm.h"
namespace v8 {
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/arm/interface-descriptors-arm.h"
+
#if V8_TARGET_ARCH_ARM
#include "src/interface-descriptors.h"
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/arm/lithium-arm.h"
+
#include <sstream>
#include "src/arm/lithium-codegen-arm.h"
#include "src/debug/debug.h"
#include "src/runtime/runtime.h"
+#include "src/arm/macro-assembler-arm.h"
+
namespace v8 {
namespace internal {
#if V8_TARGET_ARCH_ARM64
#define ARM64_DEFINE_REG_STATICS
+#include "src/arm64/assembler-arm64.h"
#include "src/arm64/assembler-arm64-inl.h"
#include "src/arm64/frames-arm64.h"
#if V8_TARGET_ARCH_ARM64
-#include "src/arm64/frames-arm64.h"
#include "src/bootstrapper.h"
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/regexp/regexp-macro-assembler.h"
#include "src/runtime/runtime.h"
+#include "src/arm64/code-stubs-arm64.h"
+#include "src/arm64/frames-arm64.h"
+
namespace v8 {
namespace internal {
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/arm64/codegen-arm64.h"
+
#if V8_TARGET_ARCH_ARM64
#include "src/arm64/simulator-arm64.h"
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/arm64/frames-arm64.h"
+
#if V8_TARGET_ARCH_ARM64
#include "src/arm64/assembler-arm64-inl.h"
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/arm64/interface-descriptors-arm64.h"
+
#if V8_TARGET_ARCH_ARM64
#include "src/interface-descriptors.h"
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/arm64/lithium-arm64.h"
+
#include <sstream>
#include "src/arm64/lithium-codegen-arm64.h"
#if V8_TARGET_ARCH_ARM64
-#include "src/arm64/frames-arm64.h"
#include "src/base/bits.h"
#include "src/base/division-by-constant.h"
#include "src/bootstrapper.h"
#include "src/debug/debug.h"
#include "src/runtime/runtime.h"
+#include "src/arm64/frames-arm64.h"
+#include "src/arm64/macro-assembler-arm64.h"
+
namespace v8 {
namespace internal {
// This module gets enough CPU information to optimize the
// atomicops module on x86.
-#include <string.h>
+#include <string.h> // NOLINT(build/include)
#include "src/base/atomicops.h"
#include <sys/fcntl.h> // open
#include <sys/mman.h> // mmap & munmap
#include <sys/stat.h> // open
-#include <sys/types.h> // mmap & munmap
#include <unistd.h> // getpagesize
// If you don't have execinfo.h then you need devel/libexecinfo from ports.
#include <errno.h>
#include <strings.h> // index
#include <sys/mman.h> // mmap & munmap
#include <sys/stat.h> // open
-#include <sys/types.h> // mmap & munmap
#include <unistd.h> // sysconf
#include <cmath>
#include <sys/mman.h> // mmap & munmap
#include <sys/procfs.h>
#include <sys/stat.h> // open
-#include <sys/types.h> // mmap & munmap
#include <unistd.h> // sysconf
#include <cmath>
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "control-builders.h"
+#include "src/compiler/control-builders.h"
namespace v8 {
namespace internal {
#include "src/compiler/node-properties.h"
#include "src/compiler/operator-properties.h"
#include "src/compiler/representation-change.h"
-#include "src/compiler/simplified-lowering.h"
#include "src/compiler/simplified-operator.h"
#include "src/compiler/source-position.h"
#include "src/objects.h"
// Define all of our flags.
#define FLAG_MODE_DEFINE
-#include "src/flag-definitions.h" // NOLINT
+#include "src/flag-definitions.h" // NOLINT(build/include)
// Define all of our flags default values.
#define FLAG_MODE_DEFINE_DEFAULTS
-#include "src/flag-definitions.h" // NOLINT
+#include "src/flag-definitions.h" // NOLINT(build/include)
namespace {
Flag flags[] = {
#define FLAG_MODE_META
-#include "src/flag-definitions.h"
+#include "src/flag-definitions.h" // NOLINT(build/include)
};
const size_t num_flags = sizeof(flags) / sizeof(*flags);
// static
void FlagList::EnforceFlagImplications() {
#define FLAG_MODE_DEFINE_IMPLICATIONS
-#include "src/flag-definitions.h"
+#include "src/flag-definitions.h" // NOLINT(build/include)
#undef FLAG_MODE_DEFINE_IMPLICATIONS
ComputeFlagListHash();
}
#include "src/bootstrapper.h"
#include "src/code-stubs.h"
#include "src/codegen.h"
+#include "src/ia32/code-stubs-ia32.h"
#include "src/ia32/frames-ia32.h"
#include "src/ic/handler-compiler.h"
#include "src/ic/ic.h"
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/ia32/codegen-ia32.h"
+
#if V8_TARGET_ARCH_IA32
#include "src/codegen.h"
#include "src/frames.h"
#include "src/ia32/assembler-ia32-inl.h"
#include "src/ia32/assembler-ia32.h"
+#include "src/ia32/frames-ia32.h"
namespace v8 {
namespace internal {
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/ia32/lithium-ia32.h"
+
#include <sstream>
#if V8_TARGET_ARCH_IA32
#include "src/cpu-profiler.h"
#include "src/debug/debug.h"
#include "src/ia32/frames-ia32.h"
+#include "src/ia32/macro-assembler-ia32.h"
#include "src/runtime/runtime.h"
namespace v8 {
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/ia32/simulator-ia32.h"
// Since there is no simulator for the ia32 architecture this file is empty.
// modified significantly by Google Inc.
// Copyright 2012 the V8 project authors. All rights reserved.
+#include "src/mips/assembler-mips.h"
+
#if V8_TARGET_ARCH_MIPS
#include "src/base/bits.h"
#include "src/ic/ic.h"
#include "src/ic/stub-cache.h"
#include "src/isolate.h"
+#include "src/mips/code-stubs-mips.h"
#include "src/regexp/jsregexp.h"
#include "src/regexp/regexp-macro-assembler.h"
#include "src/runtime/runtime.h"
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/mips/codegen-mips.h"
+
#if V8_TARGET_ARCH_MIPS
#include "src/codegen.h"
#include "src/frames.h"
#include "src/mips/assembler-mips-inl.h"
#include "src/mips/assembler-mips.h"
+#include "src/mips/frames-mips.h"
namespace v8 {
namespace internal {
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/mips/lithium-mips.h"
+
#include <sstream>
#if V8_TARGET_ARCH_MIPS
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug/debug.h"
+#include "src/mips/macro-assembler-mips.h"
#include "src/runtime/runtime.h"
namespace v8 {
// modified significantly by Google Inc.
// Copyright 2012 the V8 project authors. All rights reserved.
+#include "src/mips64/assembler-mips64.h"
+
#if V8_TARGET_ARCH_MIPS64
#include "src/base/cpu.h"
#include "src/ic/ic.h"
#include "src/ic/stub-cache.h"
#include "src/isolate.h"
+#include "src/mips64/code-stubs-mips64.h"
#include "src/regexp/jsregexp.h"
#include "src/regexp/regexp-macro-assembler.h"
#include "src/runtime/runtime.h"
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/mips64/codegen-mips64.h"
+
#if V8_TARGET_ARCH_MIPS64
#include "src/codegen.h"
#include "src/frames.h"
#include "src/mips64/assembler-mips64-inl.h"
#include "src/mips64/assembler-mips64.h"
+#include "src/mips64/frames-mips64.h"
namespace v8 {
namespace internal {
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/mips64/lithium-mips64.h"
+
#include <sstream>
#if V8_TARGET_ARCH_MIPS64
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug/debug.h"
+#include "src/mips64/macro-assembler-mips64.h"
#include "src/runtime/runtime.h"
namespace v8 {
// modified significantly by Google Inc.
// Copyright 2014 the V8 project authors. All rights reserved.
+#include "src/ppc/assembler-ppc.h"
+
#if V8_TARGET_ARCH_PPC
#include "src/base/bits.h"
#include "src/ic/ic.h"
#include "src/ic/stub-cache.h"
#include "src/isolate.h"
+#include "src/ppc/code-stubs-ppc.h"
#include "src/regexp/jsregexp.h"
#include "src/regexp/regexp-macro-assembler.h"
#include "src/runtime/runtime.h"
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/ppc/codegen-ppc.h"
+
#if V8_TARGET_ARCH_PPC
#include "src/codegen.h"
#include "src/ppc/assembler-ppc.h"
#include "src/ppc/assembler-ppc-inl.h"
+#include "src/ppc/frames-ppc.h"
#include "src/ppc/macro-assembler-ppc.h"
namespace v8 {
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/ppc/lithium-ppc.h"
+
#include <sstream>
#include "src/hydrogen-osr.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug/debug.h"
+#include "src/ppc/macro-assembler-ppc.h"
#include "src/runtime/runtime.h"
namespace v8 {
#include "src/messages.h"
#include "src/regexp/jsregexp-inl.h"
#include "src/regexp/jsregexp.h"
-#include "src/runtime/runtime-utils.h"
#include "src/string-builder.h"
#include "src/string-search.h"
//
// This file was generated at 2014-10-08 15:25:47.940335
+#include "src/unicode.h"
#include "src/unicode-inl.h"
#include <stdio.h>
#include <stdlib.h>
#include "src/regexp/jsregexp.h"
#include "src/regexp/regexp-macro-assembler.h"
#include "src/runtime/runtime.h"
+#include "src/x64/code-stubs-x64.h"
namespace v8 {
namespace internal {
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/x64/codegen-x64.h"
+
#if V8_TARGET_ARCH_X64
#include "src/codegen.h"
#include "src/frames.h"
#include "src/x64/assembler-x64-inl.h"
#include "src/x64/assembler-x64.h"
+#include "src/x64/frames-x64.h"
namespace v8 {
namespace internal {
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/x64/lithium-x64.h"
+
#include <sstream>
#if V8_TARGET_ARCH_X64
// Copyright 2009 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+
+#include "src/x64/simulator-x64.h"
// significantly by Google Inc.
// Copyright 2012 the V8 project authors. All rights reserved.
+#include "src/x87/assembler-x87.h"
+
#if V8_TARGET_ARCH_X87
#include "src/base/bits.h"
#include "src/regexp/jsregexp.h"
#include "src/regexp/regexp-macro-assembler.h"
#include "src/runtime/runtime.h"
+#include "src/x87/code-stubs-x87.h"
#include "src/x87/frames-x87.h"
namespace v8 {
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/x87/codegen-x87.h"
+
#if V8_TARGET_ARCH_X87
#include "src/codegen.h"
#include "src/frames.h"
#include "src/x87/assembler-x87-inl.h"
#include "src/x87/assembler-x87.h"
+#include "src/x87/frames-x87.h"
namespace v8 {
namespace internal {
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/x87/lithium-x87.h"
+
#include <sstream>
#if V8_TARGET_ARCH_X87
#include "src/debug/debug.h"
#include "src/runtime/runtime.h"
#include "src/x87/frames-x87.h"
+#include "src/x87/macro-assembler-x87.h"
namespace v8 {
namespace internal {
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "src/x87/simulator-x87.h"
// Since there is no simulator for the ia32 architecture this file is empty.
#include "src/api.h"
#include "src/heap/heap.h"
#include "src/objects.h"
-#include "src/v8.h"
using namespace v8::internal;
# build/include_what_you_use: Started giving false positives for variables
# named "string" and "map" assuming that you needed to include STL headers.
# TODO(bmeurer): Fix and re-enable readability/check
-# TODO(mstarzinger): Fix and re-enable build/include
# TODO(mstarzinger): Fix and re-enable readability/namespace
LINT_RULES = """
-build/c++11
-build/header_guard
--build/include
+build/include_alpha
-build/include_what_you_use
-build/namespaces