Create ast/ and parsing/ subdirectories and move appropriate files

Moves all files related to AST and scopes into ast/,
and all files related to scanner & parser to parsing/.

Also eliminates a couple of spurious dependencies.

R=mstarzinger@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1481613002

Cr-Commit-Position: refs/heads/master@{#32351}
This commit is contained in:
rossberg 2015-11-26 08:22:34 -08:00 committed by Commit bot
parent 87f7dc61fa
commit 199bbdb40f
158 changed files with 432 additions and 435 deletions

View File

@ -663,16 +663,26 @@ source_set("v8_base") {
"src/assembler.h",
"src/assert-scope.h",
"src/assert-scope.cc",
"src/ast-expression-visitor.cc",
"src/ast-expression-visitor.h",
"src/ast-literal-reindexer.cc",
"src/ast-literal-reindexer.h",
"src/ast-numbering.cc",
"src/ast-numbering.h",
"src/ast-value-factory.cc",
"src/ast-value-factory.h",
"src/ast.cc",
"src/ast.h",
"src/ast/ast-expression-visitor.cc",
"src/ast/ast-expression-visitor.h",
"src/ast/ast-literal-reindexer.cc",
"src/ast/ast-literal-reindexer.h",
"src/ast/ast-numbering.cc",
"src/ast/ast-numbering.h",
"src/ast/ast-value-factory.cc",
"src/ast/ast-value-factory.h",
"src/ast/ast.cc",
"src/ast/ast.h",
"src/ast/modules.cc",
"src/ast/modules.h",
"src/ast/prettyprinter.cc",
"src/ast/prettyprinter.h",
"src/ast/scopeinfo.cc",
"src/ast/scopeinfo.h",
"src/ast/scopes.cc",
"src/ast/scopes.h",
"src/ast/variables.cc",
"src/ast/variables.h",
"src/atomic-utils.h",
"src/background-parsing-task.cc",
"src/background-parsing-task.h",
@ -990,7 +1000,6 @@ source_set("v8_base") {
"src/elements.h",
"src/execution.cc",
"src/execution.h",
"src/expression-classifier.h",
"src/extensions/externalize-string-extension.cc",
"src/extensions/externalize-string-extension.h",
"src/extensions/free-buffer-extension.cc",
@ -1017,8 +1026,6 @@ source_set("v8_base") {
"src/frames.h",
"src/full-codegen/full-codegen.cc",
"src/full-codegen/full-codegen.h",
"src/func-name-inferrer.cc",
"src/func-name-inferrer.h",
"src/futex-emulation.cc",
"src/futex-emulation.h",
"src/gdb-jit.cc",
@ -1105,7 +1112,6 @@ source_set("v8_base") {
"src/isolate-inl.h",
"src/isolate.cc",
"src/isolate.h",
"src/json-parser.h",
"src/json-stringifier.h",
"src/key-accumulator.h",
"src/key-accumulator.cc",
@ -1124,8 +1130,6 @@ source_set("v8_base") {
"src/macro-assembler.h",
"src/messages.cc",
"src/messages.h",
"src/modules.cc",
"src/modules.h",
"src/msan.h",
"src/objects-body-descriptors-inl.h",
"src/objects-body-descriptors.h",
@ -1138,20 +1142,30 @@ source_set("v8_base") {
"src/optimizing-compile-dispatcher.h",
"src/ostreams.cc",
"src/ostreams.h",
"src/parameter-initializer-rewriter.cc",
"src/parameter-initializer-rewriter.h",
"src/parser.cc",
"src/parser.h",
"src/pattern-rewriter.cc",
"src/parsing/expression-classifier.h",
"src/parsing/func-name-inferrer.cc",
"src/parsing/func-name-inferrer.h",
"src/parsing/json-parser.h",
"src/parsing/parameter-initializer-rewriter.cc",
"src/parsing/parameter-initializer-rewriter.h",
"src/parsing/parser.cc",
"src/parsing/parser.h",
"src/parsing/pattern-rewriter.cc",
"src/parsing/preparse-data-format.h",
"src/parsing/preparse-data.cc",
"src/parsing/preparse-data.h",
"src/parsing/preparser.cc",
"src/parsing/preparser.h",
"src/parsing/rewriter.cc",
"src/parsing/rewriter.h",
"src/parsing/scanner-character-streams.cc",
"src/parsing/scanner-character-streams.h",
"src/parsing/scanner.cc",
"src/parsing/scanner.h",
"src/parsing/token.cc",
"src/parsing/token.h",
"src/pending-compilation-error-handler.cc",
"src/pending-compilation-error-handler.h",
"src/preparse-data-format.h",
"src/preparse-data.cc",
"src/preparse-data.h",
"src/preparser.cc",
"src/preparser.h",
"src/prettyprinter.cc",
"src/prettyprinter.h",
"src/profiler/allocation-tracker.cc",
"src/profiler/allocation-tracker.h",
"src/profiler/circular-queue-inl.h",
@ -1179,8 +1193,6 @@ source_set("v8_base") {
"src/property.cc",
"src/property.h",
"src/prototype.h",
"src/rewriter.cc",
"src/rewriter.h",
"src/regexp/bytecodes-irregexp.h",
"src/regexp/interpreter-irregexp.cc",
"src/regexp/interpreter-irregexp.h",
@ -1236,14 +1248,6 @@ source_set("v8_base") {
"src/runtime/runtime.h",
"src/safepoint-table.cc",
"src/safepoint-table.h",
"src/scanner-character-streams.cc",
"src/scanner-character-streams.h",
"src/scanner.cc",
"src/scanner.h",
"src/scopeinfo.cc",
"src/scopeinfo.h",
"src/scopes.cc",
"src/scopes.h",
"src/signature.h",
"src/simulator.h",
"src/small-pointer-list.h",
@ -1266,8 +1270,6 @@ source_set("v8_base") {
"src/string-stream.h",
"src/strtod.cc",
"src/strtod.h",
"src/token.cc",
"src/token.h",
"src/transitions-inl.h",
"src/transitions.cc",
"src/transitions.h",
@ -1299,8 +1301,6 @@ source_set("v8_base") {
"src/v8memory.h",
"src/v8threads.cc",
"src/v8threads.h",
"src/variables.cc",
"src/variables.h",
"src/version.cc",
"src/version.h",
"src/vm-state-inl.h",

View File

@ -5,7 +5,7 @@
#ifndef V8_ALLOCATION_SITE_SCOPES_H_
#define V8_ALLOCATION_SITE_SCOPES_H_
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/handles.h"
#include "src/objects.h"
#include "src/zone.h"

View File

@ -33,9 +33,10 @@
#include "src/global-handles.h"
#include "src/icu_util.h"
#include "src/isolate-inl.h"
#include "src/json-parser.h"
#include "src/messages.h"
#include "src/parser.h"
#include "src/parsing/json-parser.h"
#include "src/parsing/parser.h"
#include "src/parsing/scanner-character-streams.h"
#include "src/pending-compilation-error-handler.h"
#include "src/profiler/cpu-profiler.h"
#include "src/profiler/heap-profiler.h"
@ -48,7 +49,6 @@
#include "src/prototype.h"
#include "src/runtime/runtime.h"
#include "src/runtime-profiler.h"
#include "src/scanner-character-streams.h"
#include "src/simulator.h"
#include "src/snapshot/natives.h"
#include "src/snapshot/snapshot.h"

View File

@ -5,7 +5,7 @@
#ifndef V8_ARM_CODEGEN_ARM_H_
#define V8_ARM_CODEGEN_ARM_H_
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/macro-assembler.h"
namespace v8 {

View File

@ -5,7 +5,7 @@
#ifndef V8_ARM64_CODEGEN_ARM64_H_
#define V8_ARM64_CODEGEN_ARM64_H_
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/macro-assembler.h"
namespace v8 {

View File

@ -51,6 +51,7 @@
#include "src/ic/ic.h"
#include "src/ic/stub-cache.h"
#include "src/ostreams.h"
#include "src/parsing/token.h"
#include "src/profiler/cpu-profiler.h"
#include "src/regexp/jsregexp.h"
#include "src/regexp/regexp-macro-assembler.h"
@ -59,7 +60,6 @@
#include "src/runtime/runtime.h"
#include "src/simulator.h" // For flushing instruction cache.
#include "src/snapshot/serialize.h"
#include "src/token.h"
#if V8_TARGET_ARCH_IA32
#include "src/ia32/assembler-ia32-inl.h" // NOLINT

View File

@ -38,8 +38,8 @@
#include "src/allocation.h"
#include "src/builtins.h"
#include "src/isolate.h"
#include "src/parsing/token.h"
#include "src/runtime/runtime.h"
#include "src/token.h"
namespace v8 {

View File

@ -4,11 +4,11 @@
#include "src/v8.h"
#include "src/ast-expression-visitor.h"
#include "src/ast/ast-expression-visitor.h"
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/ast/scopes.h"
#include "src/codegen.h"
#include "src/scopes.h"
namespace v8 {
namespace internal {

View File

@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_AST_EXPRESSION_VISITOR_H_
#define V8_AST_EXPRESSION_VISITOR_H_
#ifndef V8_AST_AST_EXPRESSION_VISITOR_H_
#define V8_AST_AST_EXPRESSION_VISITOR_H_
#include "src/allocation.h"
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/ast/scopes.h"
#include "src/effects.h"
#include "src/scopes.h"
#include "src/type-info.h"
#include "src/types.h"
#include "src/zone.h"
@ -47,4 +47,4 @@ class AstExpressionVisitor : public AstVisitor {
} // namespace internal
} // namespace v8
#endif // V8_AST_EXPRESSION_VISITOR_H_
#endif // V8_AST_AST_EXPRESSION_VISITOR_H_

View File

@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ast-literal-reindexer.h"
#include "src/ast/ast-literal-reindexer.h"
#include "src/ast.h"
#include "src/scopes.h"
#include "src/ast/ast.h"
#include "src/ast/scopes.h"
namespace v8 {
namespace internal {

View File

@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_AST_LITERAL_REINDEXER
#define V8_AST_LITERAL_REINDEXER
#ifndef V8_AST_AST_LITERAL_REINDEXER
#define V8_AST_AST_LITERAL_REINDEXER
#include "src/ast.h"
#include "src/scopes.h"
#include "src/ast/ast.h"
#include "src/ast/scopes.h"
namespace v8 {
namespace internal {
@ -42,4 +42,4 @@ class AstLiteralReindexer final : public AstVisitor {
} // namespace internal
} // namespace v8
#endif // V8_AST_LITERAL_REINDEXER
#endif // V8_AST_AST_LITERAL_REINDEXER

View File

@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ast-numbering.h"
#include "src/ast/ast-numbering.h"
#include "src/ast.h"
#include "src/scopes.h"
#include "src/ast/ast.h"
#include "src/ast/scopes.h"
namespace v8 {
namespace internal {

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_AST_NUMBERING_H_
#define V8_AST_NUMBERING_H_
#ifndef V8_AST_AST_NUMBERING_H_
#define V8_AST_AST_NUMBERING_H_
namespace v8 {
namespace internal {
@ -22,4 +22,4 @@ bool Renumber(Isolate* isolate, Zone* zone, FunctionLiteral* function);
} // namespace internal
} // namespace v8
#endif // V8_AST_NUMBERING_H_
#endif // V8_AST_AST_NUMBERING_H_

View File

@ -25,7 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "src/ast-value-factory.h"
#include "src/ast/ast-value-factory.h"
#include "src/api.h"
#include "src/objects.h"

View File

@ -25,8 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef V8_AST_VALUE_FACTORY_H_
#define V8_AST_VALUE_FACTORY_H_
#ifndef V8_AST_AST_VALUE_FACTORY_H_
#define V8_AST_AST_VALUE_FACTORY_H_
#include "src/api.h"
#include "src/hashmap.h"
@ -373,4 +373,4 @@ class AstValueFactory {
#undef STRING_CONSTANTS
#undef OTHER_CONSTANTS
#endif // V8_AST_VALUE_FACTORY_H_
#endif // V8_AST_AST_VALUE_FACTORY_H_

View File

@ -2,18 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ast.h"
#include "src/ast/ast.h"
#include <cmath> // For isfinite.
#include "src/ast/scopes.h"
#include "src/builtins.h"
#include "src/code-stubs.h"
#include "src/contexts.h"
#include "src/conversions.h"
#include "src/hashmap.h"
#include "src/parser.h"
#include "src/parsing/parser.h"
#include "src/property.h"
#include "src/property-details.h"
#include "src/scopes.h"
#include "src/string-stream.h"
#include "src/type-info.h"

View File

@ -2,25 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_AST_H_
#define V8_AST_H_
#ifndef V8_AST_AST_H_
#define V8_AST_AST_H_
#include "src/assembler.h"
#include "src/ast-value-factory.h"
#include "src/ast/ast-value-factory.h"
#include "src/ast/modules.h"
#include "src/ast/variables.h"
#include "src/bailout-reason.h"
#include "src/base/flags.h"
#include "src/base/smart-pointers.h"
#include "src/factory.h"
#include "src/isolate.h"
#include "src/list.h"
#include "src/modules.h"
#include "src/parsing/token.h"
#include "src/regexp/jsregexp.h"
#include "src/runtime/runtime.h"
#include "src/small-pointer-list.h"
#include "src/token.h"
#include "src/types.h"
#include "src/utils.h"
#include "src/variables.h"
namespace v8 {
namespace internal {
@ -3673,4 +3673,4 @@ class AstNodeFactory final BASE_EMBEDDED {
} // namespace internal
} // namespace v8
#endif // V8_AST_H_
#endif // V8_AST_AST_H_

View File

@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/modules.h"
#include "src/ast/modules.h"
#include "src/ast-value-factory.h"
#include "src/ast/ast-value-factory.h"
namespace v8 {
namespace internal {

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_MODULES_H_
#define V8_MODULES_H_
#ifndef V8_AST_MODULES_H_
#define V8_AST_MODULES_H_
#include "src/zone.h"
@ -118,4 +118,4 @@ class ModuleDescriptor : public ZoneObject {
} // namespace internal
} // namespace v8
#endif // V8_MODULES_H_
#endif // V8_AST_MODULES_H_

View File

@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/prettyprinter.h"
#include "src/ast/prettyprinter.h"
#include <stdarg.h>
#include "src/ast-value-factory.h"
#include "src/ast/ast-value-factory.h"
#include "src/ast/scopes.h"
#include "src/base/platform/platform.h"
#include "src/scopes.h"
namespace v8 {
namespace internal {

View File

@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_PRETTYPRINTER_H_
#define V8_PRETTYPRINTER_H_
#ifndef V8_AST_PRETTYPRINTER_H_
#define V8_AST_PRETTYPRINTER_H_
#include "src/allocation.h"
#include "src/ast.h"
#include "src/ast/ast.h"
namespace v8 {
namespace internal {
@ -136,4 +136,4 @@ class AstPrinter: public PrettyPrinter {
} // namespace internal
} // namespace v8
#endif // V8_PRETTYPRINTER_H_
#endif // V8_AST_PRETTYPRINTER_H_

View File

@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/scopeinfo.h"
#include "src/ast/scopeinfo.h"
#include <stdlib.h>
#include "src/ast/scopes.h"
#include "src/bootstrapper.h"
#include "src/scopes.h"
namespace v8 {
namespace internal {

View File

@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_SCOPEINFO_H_
#define V8_SCOPEINFO_H_
#ifndef V8_AST_SCOPEINFO_H_
#define V8_AST_SCOPEINFO_H_
#include "src/allocation.h"
#include "src/modules.h"
#include "src/variables.h"
#include "src/ast/modules.h"
#include "src/ast/variables.h"
namespace v8 {
namespace internal {
@ -172,4 +172,4 @@ class ModuleInfo: public FixedArray {
} // namespace internal
} // namespace v8
#endif // V8_SCOPEINFO_H_
#endif // V8_AST_SCOPEINFO_H_

View File

@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/scopes.h"
#include "src/ast/scopes.h"
#include "src/accessors.h"
#include "src/ast/scopeinfo.h"
#include "src/bootstrapper.h"
#include "src/messages.h"
#include "src/parser.h"
#include "src/scopeinfo.h"
#include "src/parsing/parser.h" // for ParseInfo
namespace v8 {
namespace internal {

View File

@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_SCOPES_H_
#define V8_SCOPES_H_
#ifndef V8_AST_SCOPES_H_
#define V8_AST_SCOPES_H_
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/pending-compilation-error-handler.h"
#include "src/zone.h"
@ -849,4 +849,4 @@ class Scope: public ZoneObject {
} // namespace internal
} // namespace v8
#endif // V8_SCOPES_H_
#endif // V8_AST_SCOPES_H_

View File

@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/variables.h"
#include "src/ast/variables.h"
#include "src/ast.h"
#include "src/scopes.h"
#include "src/ast/ast.h"
#include "src/ast/scopes.h"
namespace v8 {
namespace internal {

View File

@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_VARIABLES_H_
#define V8_VARIABLES_H_
#ifndef V8_AST_VARIABLES_H_
#define V8_AST_VARIABLES_H_
#include "src/ast-value-factory.h"
#include "src/ast/ast-value-factory.h"
#include "src/zone.h"
namespace v8 {
@ -211,4 +211,4 @@ class ClassVariable : public Variable {
} // namespace internal
} // namespace v8
#endif // V8_VARIABLES_H_
#endif // V8_AST_VARIABLES_H_

View File

@ -9,7 +9,7 @@
#include "src/base/platform/semaphore.h"
#include "src/base/smart-pointers.h"
#include "src/compiler.h"
#include "src/parser.h"
#include "src/parsing/parser.h"
namespace v8 {
namespace internal {

View File

@ -5,7 +5,6 @@
#include "src/bit-vector.h"
#include "src/base/bits.h"
#include "src/scopes.h"
namespace v8 {
namespace internal {

View File

@ -12,7 +12,7 @@
#include "src/ic/handler-compiler.h"
#include "src/ic/ic.h"
#include "src/macro-assembler.h"
#include "src/parser.h"
#include "src/parsing/parser.h"
#include "src/profiler/cpu-profiler.h"
namespace v8 {

View File

@ -7,13 +7,12 @@
#if defined(V8_OS_AIX)
#include <fenv.h> // NOLINT(build/c++11)
#endif
#include "src/ast/prettyprinter.h"
#include "src/bootstrapper.h"
#include "src/compiler.h"
#include "src/debug/debug.h"
#include "src/parser.h"
#include "src/prettyprinter.h"
#include "src/parsing/parser.h"
#include "src/profiler/cpu-profiler.h"
#include "src/rewriter.h"
#include "src/runtime/runtime.h"
namespace v8 {

View File

@ -6,7 +6,10 @@
#include <algorithm>
#include "src/ast-numbering.h"
#include "src/ast/ast-numbering.h"
#include "src/ast/prettyprinter.h"
#include "src/ast/scopeinfo.h"
#include "src/ast/scopes.h"
#include "src/bootstrapper.h"
#include "src/codegen.h"
#include "src/compilation-cache.h"
@ -23,14 +26,11 @@
#include "src/isolate-inl.h"
#include "src/log-inl.h"
#include "src/messages.h"
#include "src/parser.h"
#include "src/prettyprinter.h"
#include "src/parsing/parser.h"
#include "src/parsing/rewriter.h"
#include "src/parsing/scanner-character-streams.h"
#include "src/profiler/cpu-profiler.h"
#include "src/rewriter.h"
#include "src/runtime-profiler.h"
#include "src/scanner-character-streams.h"
#include "src/scopeinfo.h"
#include "src/scopes.h"
#include "src/snapshot/serialize.h"
#include "src/vm-state-inl.h"

View File

@ -6,7 +6,7 @@
#define V8_COMPILER_H_
#include "src/allocation.h"
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/bailout-reason.h"
#include "src/compilation-dependencies.h"
#include "src/signature.h"

View File

@ -5,11 +5,11 @@
#include "src/compiler/code-generator.h"
#include "src/arm/macro-assembler-arm.h"
#include "src/ast/scopes.h"
#include "src/compiler/code-generator-impl.h"
#include "src/compiler/gap-resolver.h"
#include "src/compiler/node-matchers.h"
#include "src/compiler/osr.h"
#include "src/scopes.h"
namespace v8 {
namespace internal {

View File

@ -6,11 +6,11 @@
#include "src/arm64/frames-arm64.h"
#include "src/arm64/macro-assembler-arm64.h"
#include "src/ast/scopes.h"
#include "src/compiler/code-generator-impl.h"
#include "src/compiler/gap-resolver.h"
#include "src/compiler/node-matchers.h"
#include "src/compiler/osr.h"
#include "src/scopes.h"
namespace v8 {
namespace internal {

View File

@ -4,6 +4,7 @@
#include "src/compiler/ast-graph-builder.h"
#include "src/ast/scopes.h"
#include "src/compiler.h"
#include "src/compiler/ast-loop-assignment-analyzer.h"
#include "src/compiler/control-builders.h"
@ -14,8 +15,7 @@
#include "src/compiler/node-properties.h"
#include "src/compiler/operator-properties.h"
#include "src/compiler/state-values-utils.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/parsing/parser.h"
namespace v8 {
namespace internal {

View File

@ -5,7 +5,7 @@
#ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_
#define V8_COMPILER_AST_GRAPH_BUILDER_H_
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/compiler/js-graph.h"
#include "src/compiler/liveness-analyzer.h"
#include "src/compiler/state-values-utils.h"

View File

@ -4,7 +4,7 @@
#include "src/compiler/ast-loop-assignment-analyzer.h"
#include "src/compiler.h"
#include "src/parser.h"
#include "src/parsing/parser.h"
namespace v8 {
namespace internal {

View File

@ -5,7 +5,7 @@
#ifndef V8_COMPILER_AST_LOOP_ASSIGNMENT_ANALYZER_H_
#define V8_COMPILER_AST_LOOP_ASSIGNMENT_ANALYZER_H_
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/bit-vector.h"
#include "src/zone-containers.h"

View File

@ -4,6 +4,7 @@
#include "src/compiler/code-generator.h"
#include "src/ast/scopes.h"
#include "src/compiler/code-generator-impl.h"
#include "src/compiler/gap-resolver.h"
#include "src/compiler/node-matchers.h"
@ -11,7 +12,6 @@
#include "src/ia32/assembler-ia32.h"
#include "src/ia32/frames-ia32.h"
#include "src/ia32/macro-assembler-ia32.h"
#include "src/scopes.h"
namespace v8 {
namespace internal {

View File

@ -4,8 +4,9 @@
#include "src/compiler/js-inlining.h"
#include "src/ast.h"
#include "src/ast-numbering.h"
#include "src/ast/ast.h"
#include "src/ast/ast-numbering.h"
#include "src/ast/scopes.h"
#include "src/compiler.h"
#include "src/compiler/all-nodes.h"
#include "src/compiler/ast-graph-builder.h"
@ -16,9 +17,8 @@
#include "src/compiler/node-properties.h"
#include "src/compiler/operator-properties.h"
#include "src/isolate-inl.h"
#include "src/parser.h"
#include "src/rewriter.h"
#include "src/scopes.h"
#include "src/parsing/parser.h"
#include "src/parsing/rewriter.h"
namespace v8 {
namespace internal {

View File

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ast/scopes.h"
#include "src/code-stubs.h"
#include "src/compiler.h"
#include "src/compiler/common-operator.h"
@ -10,7 +11,6 @@
#include "src/compiler/node.h"
#include "src/compiler/osr.h"
#include "src/compiler/pipeline.h"
#include "src/scopes.h"
namespace v8 {
namespace internal {

View File

@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ast/scopes.h"
#include "src/compiler/code-generator.h"
#include "src/compiler/code-generator-impl.h"
#include "src/compiler/gap-resolver.h"
#include "src/compiler/node-matchers.h"
#include "src/compiler/osr.h"
#include "src/mips/macro-assembler-mips.h"
#include "src/scopes.h"
namespace v8 {
namespace internal {

View File

@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ast/scopes.h"
#include "src/compiler/code-generator.h"
#include "src/compiler/code-generator-impl.h"
#include "src/compiler/gap-resolver.h"
#include "src/compiler/node-matchers.h"
#include "src/compiler/osr.h"
#include "src/mips/macro-assembler-mips.h"
#include "src/scopes.h"
namespace v8 {
namespace internal {

View File

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ast/scopes.h"
#include "src/compiler.h"
#include "src/compiler/all-nodes.h"
#include "src/compiler/common-operator.h"
@ -17,7 +18,6 @@
#include "src/compiler/node.h"
#include "src/compiler/node-marker.h"
#include "src/compiler/osr.h"
#include "src/scopes.h"
namespace v8 {
namespace internal {

View File

@ -4,12 +4,12 @@
#include "src/compiler/code-generator.h"
#include "src/ast/scopes.h"
#include "src/compiler/code-generator-impl.h"
#include "src/compiler/gap-resolver.h"
#include "src/compiler/node-matchers.h"
#include "src/compiler/osr.h"
#include "src/ppc/macro-assembler-ppc.h"
#include "src/scopes.h"
namespace v8 {
namespace internal {

View File

@ -4,11 +4,11 @@
#include "src/compiler/code-generator.h"
#include "src/ast/scopes.h"
#include "src/compiler/code-generator-impl.h"
#include "src/compiler/gap-resolver.h"
#include "src/compiler/node-matchers.h"
#include "src/compiler/osr.h"
#include "src/scopes.h"
#include "src/x64/assembler-x64.h"
#include "src/x64/macro-assembler-x64.h"

View File

@ -4,11 +4,11 @@
#include "src/compiler/code-generator.h"
#include "src/ast/scopes.h"
#include "src/compiler/code-generator-impl.h"
#include "src/compiler/gap-resolver.h"
#include "src/compiler/node-matchers.h"
#include "src/compiler/osr.h"
#include "src/scopes.h"
#include "src/x87/assembler-x87.h"
#include "src/x87/frames-x87.h"
#include "src/x87/macro-assembler-x87.h"

View File

@ -4,10 +4,10 @@
#include "src/contexts.h"
#include "src/ast/scopeinfo.h"
#include "src/bootstrapper.h"
#include "src/debug/debug.h"
#include "src/isolate-inl.h"
#include "src/scopeinfo.h"
namespace v8 {
namespace internal {

View File

@ -20,7 +20,6 @@
#include "src/conversions.h"
#include "src/double.h"
#include "src/objects-inl.h"
#include "src/scanner.h"
#include "src/strtod.h"
namespace v8 {

View File

@ -5,12 +5,12 @@
#ifndef V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_
#define V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_
#include "src/ast/scopes.h"
#include "src/crankshaft/arm/lithium-arm.h"
#include "src/crankshaft/arm/lithium-gap-resolver-arm.h"
#include "src/crankshaft/lithium-codegen.h"
#include "src/deoptimizer.h"
#include "src/safepoint-table.h"
#include "src/scopes.h"
#include "src/utils.h"
namespace v8 {

View File

@ -7,11 +7,11 @@
#include "src/crankshaft/arm64/lithium-arm64.h"
#include "src/ast/scopes.h"
#include "src/crankshaft/arm64/lithium-gap-resolver-arm64.h"
#include "src/crankshaft/lithium-codegen.h"
#include "src/deoptimizer.h"
#include "src/safepoint-table.h"
#include "src/scopes.h"
#include "src/utils.h"
namespace v8 {

View File

@ -5,7 +5,7 @@
#ifndef V8_CRANKSHAFT_HYDROGEN_OSR_H_
#define V8_CRANKSHAFT_HYDROGEN_OSR_H_
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/crankshaft/hydrogen.h"
#include "src/zone.h"

View File

@ -7,7 +7,8 @@
#include <sstream>
#include "src/allocation-site-scopes.h"
#include "src/ast-numbering.h"
#include "src/ast/ast-numbering.h"
#include "src/ast/scopeinfo.h"
#include "src/code-factory.h"
#include "src/crankshaft/hydrogen-bce.h"
#include "src/crankshaft/hydrogen-bch.h"
@ -39,9 +40,8 @@
// GetRootConstructor
#include "src/ic/ic-inl.h"
#include "src/isolate-inl.h"
#include "src/parser.h"
#include "src/parsing/parser.h"
#include "src/runtime/runtime.h"
#include "src/scopeinfo.h"
#if V8_TARGET_ARCH_IA32
#include "src/crankshaft/ia32/lithium-codegen-ia32.h" // NOLINT

View File

@ -7,11 +7,11 @@
#include "src/accessors.h"
#include "src/allocation.h"
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/ast/scopes.h"
#include "src/bailout-reason.h"
#include "src/compiler.h"
#include "src/crankshaft/hydrogen-instructions.h"
#include "src/scopes.h"
#include "src/zone.h"
namespace v8 {

View File

@ -5,13 +5,13 @@
#ifndef V8_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_
#define V8_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_
#include "src/ast/scopes.h"
#include "src/base/logging.h"
#include "src/crankshaft/ia32/lithium-gap-resolver-ia32.h"
#include "src/crankshaft/ia32/lithium-ia32.h"
#include "src/crankshaft/lithium-codegen.h"
#include "src/deoptimizer.h"
#include "src/safepoint-table.h"
#include "src/scopes.h"
#include "src/utils.h"
namespace v8 {

View File

@ -4,7 +4,7 @@
#include "src/crankshaft/lithium.h"
#include "src/scopes.h"
#include "src/ast/scopes.h"
#if V8_TARGET_ARCH_IA32
#include "src/crankshaft/ia32/lithium-ia32.h" // NOLINT

View File

@ -5,12 +5,12 @@
#ifndef V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_
#define V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_
#include "src/ast/scopes.h"
#include "src/crankshaft/lithium-codegen.h"
#include "src/crankshaft/mips/lithium-gap-resolver-mips.h"
#include "src/crankshaft/mips/lithium-mips.h"
#include "src/deoptimizer.h"
#include "src/safepoint-table.h"
#include "src/scopes.h"
#include "src/utils.h"
namespace v8 {

View File

@ -5,12 +5,12 @@
#ifndef V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_
#define V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_
#include "src/ast/scopes.h"
#include "src/crankshaft/lithium-codegen.h"
#include "src/crankshaft/mips64/lithium-gap-resolver-mips64.h"
#include "src/crankshaft/mips64/lithium-mips64.h"
#include "src/deoptimizer.h"
#include "src/safepoint-table.h"
#include "src/scopes.h"
#include "src/utils.h"
namespace v8 {

View File

@ -5,12 +5,12 @@
#ifndef V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_
#define V8_CRANKSHAFT_PPC_LITHIUM_CODEGEN_PPC_H_
#include "src/ast/scopes.h"
#include "src/crankshaft/lithium-codegen.h"
#include "src/crankshaft/ppc/lithium-gap-resolver-ppc.h"
#include "src/crankshaft/ppc/lithium-ppc.h"
#include "src/deoptimizer.h"
#include "src/safepoint-table.h"
#include "src/scopes.h"
#include "src/utils.h"
namespace v8 {

View File

@ -4,11 +4,11 @@
#include "src/crankshaft/typing.h"
#include "src/ast/scopes.h"
#include "src/frames.h"
#include "src/frames-inl.h"
#include "src/ostreams.h"
#include "src/parser.h" // for CompileTimeValue; TODO(rossberg): should move
#include "src/scopes.h"
#include "src/parsing/parser.h" // for CompileTimeValue; TODO(rossberg): move
#include "src/splay-tree-inl.h"
namespace v8 {

View File

@ -6,9 +6,9 @@
#define V8_CRANKSHAFT_TYPING_H_
#include "src/allocation.h"
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/ast/scopes.h"
#include "src/effects.h"
#include "src/scopes.h"
#include "src/type-info.h"
#include "src/types.h"
#include "src/zone.h"

View File

@ -6,13 +6,13 @@
#define V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_
#include "src/ast/scopes.h"
#include "src/base/logging.h"
#include "src/crankshaft/lithium-codegen.h"
#include "src/crankshaft/x64/lithium-gap-resolver-x64.h"
#include "src/crankshaft/x64/lithium-x64.h"
#include "src/deoptimizer.h"
#include "src/safepoint-table.h"
#include "src/scopes.h"
#include "src/utils.h"
namespace v8 {

View File

@ -7,13 +7,13 @@
#include <map>
#include "src/ast/scopes.h"
#include "src/base/logging.h"
#include "src/crankshaft/lithium-codegen.h"
#include "src/crankshaft/x87/lithium-gap-resolver-x87.h"
#include "src/crankshaft/x87/lithium-x87.h"
#include "src/deoptimizer.h"
#include "src/safepoint-table.h"
#include "src/scopes.h"
#include "src/utils.h"
namespace v8 {

View File

@ -7,7 +7,7 @@
#include "src/allocation.h"
#include "src/char-predicates.h"
#include "src/scanner.h"
#include "src/parsing/scanner.h"
namespace v8 {
namespace internal {

View File

@ -4,12 +4,12 @@
#include "src/debug/debug-scopes.h"
#include "src/ast/scopes.h"
#include "src/debug/debug.h"
#include "src/frames-inl.h"
#include "src/globals.h"
#include "src/isolate-inl.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/parsing/parser.h"
namespace v8 {
namespace internal {

View File

@ -4,6 +4,8 @@
#include "src/debug/liveedit.h"
#include "src/ast/scopeinfo.h"
#include "src/ast/scopes.h"
#include "src/code-stubs.h"
#include "src/compilation-cache.h"
#include "src/compiler.h"
@ -13,9 +15,7 @@
#include "src/global-handles.h"
#include "src/isolate-inl.h"
#include "src/messages.h"
#include "src/parser.h"
#include "src/scopeinfo.h"
#include "src/scopes.h"
#include "src/parsing/parser.h"
#include "src/v8.h"
#include "src/v8memory.h"

View File

@ -5,13 +5,13 @@
#include "src/deoptimizer.h"
#include "src/accessors.h"
#include "src/ast/prettyprinter.h"
#include "src/codegen.h"
#include "src/disasm.h"
#include "src/frames-inl.h"
#include "src/full-codegen/full-codegen.h"
#include "src/global-handles.h"
#include "src/macro-assembler.h"
#include "src/prettyprinter.h"
#include "src/profiler/cpu-profiler.h"
#include "src/v8.h"

View File

@ -6,14 +6,14 @@
#include <sstream>
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/ast/scopeinfo.h"
#include "src/base/bits.h"
#include "src/deoptimizer.h"
#include "src/frames-inl.h"
#include "src/full-codegen/full-codegen.h"
#include "src/register-configuration.h"
#include "src/safepoint-table.h"
#include "src/scopeinfo.h"
#include "src/string-stream.h"
#include "src/vm-state-inl.h"

View File

@ -4,14 +4,14 @@
#if V8_TARGET_ARCH_ARM
#include "src/ast/scopes.h"
#include "src/code-factory.h"
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/debug/debug.h"
#include "src/full-codegen/full-codegen.h"
#include "src/ic/ic.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/parsing/parser.h"
#include "src/arm/code-stubs-arm.h"
#include "src/arm/macro-assembler-arm.h"

View File

@ -4,14 +4,14 @@
#if V8_TARGET_ARCH_ARM64
#include "src/ast/scopes.h"
#include "src/code-factory.h"
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/debug/debug.h"
#include "src/full-codegen/full-codegen.h"
#include "src/ic/ic.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/parsing/parser.h"
#include "src/arm64/code-stubs-arm64.h"
#include "src/arm64/frames-arm64.h"

View File

@ -4,8 +4,11 @@
#include "src/full-codegen/full-codegen.h"
#include "src/ast.h"
#include "src/ast-numbering.h"
#include "src/ast/ast.h"
#include "src/ast/ast-numbering.h"
#include "src/ast/prettyprinter.h"
#include "src/ast/scopeinfo.h"
#include "src/ast/scopes.h"
#include "src/code-factory.h"
#include "src/codegen.h"
#include "src/compiler.h"
@ -13,9 +16,6 @@
#include "src/debug/liveedit.h"
#include "src/isolate-inl.h"
#include "src/macro-assembler.h"
#include "src/prettyprinter.h"
#include "src/scopeinfo.h"
#include "src/scopes.h"
#include "src/snapshot/snapshot.h"
namespace v8 {

View File

@ -7,7 +7,8 @@
#include "src/allocation.h"
#include "src/assert-scope.h"
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/ast/scopes.h"
#include "src/bit-vector.h"
#include "src/code-factory.h"
#include "src/code-stubs.h"
@ -15,7 +16,6 @@
#include "src/compiler.h"
#include "src/globals.h"
#include "src/objects.h"
#include "src/scopes.h"
namespace v8 {
namespace internal {

View File

@ -4,6 +4,7 @@
#if V8_TARGET_ARCH_IA32
#include "src/ast/scopes.h"
#include "src/code-factory.h"
#include "src/code-stubs.h"
#include "src/codegen.h"
@ -11,8 +12,7 @@
#include "src/full-codegen/full-codegen.h"
#include "src/ia32/frames-ia32.h"
#include "src/ic/ic.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/parsing/parser.h"
namespace v8 {
namespace internal {

View File

@ -12,14 +12,14 @@
// places where we have to move a previous result in v0 to a0 for the
// next call: mov(a0, v0). This is not needed on the other architectures.
#include "src/ast/scopes.h"
#include "src/code-factory.h"
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/debug/debug.h"
#include "src/full-codegen/full-codegen.h"
#include "src/ic/ic.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/parsing/parser.h"
#include "src/mips/code-stubs-mips.h"
#include "src/mips/macro-assembler-mips.h"

View File

@ -12,14 +12,14 @@
// places where we have to move a previous result in v0 to a0 for the
// next call: mov(a0, v0). This is not needed on the other architectures.
#include "src/ast/scopes.h"
#include "src/code-factory.h"
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/debug/debug.h"
#include "src/full-codegen/full-codegen.h"
#include "src/ic/ic.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/parsing/parser.h"
#include "src/mips64/code-stubs-mips64.h"
#include "src/mips64/macro-assembler-mips64.h"

View File

@ -4,14 +4,14 @@
#if V8_TARGET_ARCH_PPC
#include "src/ast/scopes.h"
#include "src/code-factory.h"
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/debug/debug.h"
#include "src/full-codegen/full-codegen.h"
#include "src/ic/ic.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/parsing/parser.h"
#include "src/ppc/code-stubs-ppc.h"
#include "src/ppc/macro-assembler-ppc.h"

View File

@ -4,14 +4,14 @@
#if V8_TARGET_ARCH_X64
#include "src/ast/scopes.h"
#include "src/code-factory.h"
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/debug/debug.h"
#include "src/full-codegen/full-codegen.h"
#include "src/ic/ic.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/parsing/parser.h"
namespace v8 {
namespace internal {

View File

@ -4,14 +4,14 @@
#if V8_TARGET_ARCH_X87
#include "src/ast/scopes.h"
#include "src/code-factory.h"
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/debug/debug.h"
#include "src/full-codegen/full-codegen.h"
#include "src/ic/ic.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/parser/parser.h"
#include "src/x87/frames-x87.h"
namespace v8 {

View File

@ -6,6 +6,7 @@
#include "src/accessors.h"
#include "src/api.h"
#include "src/ast/scopeinfo.h"
#include "src/base/bits.h"
#include "src/base/once.h"
#include "src/base/utils/random-number-generator.h"
@ -32,7 +33,6 @@
#include "src/interpreter/interpreter.h"
#include "src/profiler/cpu-profiler.h"
#include "src/runtime-profiler.h"
#include "src/scopeinfo.h"
#include "src/snapshot/natives.h"
#include "src/snapshot/serialize.h"
#include "src/snapshot/snapshot.h"

View File

@ -5,7 +5,7 @@
#ifndef V8_IA32_CODEGEN_IA32_H_
#define V8_IA32_CODEGEN_IA32_H_
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/macro-assembler.h"
namespace v8 {

View File

@ -7,7 +7,7 @@
#include <vector>
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/identity-map.h"
#include "src/interpreter/bytecodes.h"
#include "src/zone.h"

View File

@ -4,12 +4,12 @@
#include "src/interpreter/bytecode-generator.h"
#include "src/ast/scopes.h"
#include "src/compiler.h"
#include "src/interpreter/control-flow-builders.h"
#include "src/objects.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/token.h"
#include "src/parsing/parser.h"
#include "src/parsing/token.h"
namespace v8 {
namespace internal {

View File

@ -5,7 +5,7 @@
#ifndef V8_INTERPRETER_BYTECODE_GENERATOR_H_
#define V8_INTERPRETER_BYTECODE_GENERATOR_H_
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/interpreter/bytecode-array-builder.h"
#include "src/interpreter/bytecodes.h"

View File

@ -11,8 +11,8 @@
#include "src/base/macros.h"
#include "src/builtins.h"
#include "src/interpreter/bytecodes.h"
#include "src/parsing/token.h"
#include "src/runtime/runtime.h"
#include "src/token.h"
namespace v8 {
namespace internal {

View File

@ -9,7 +9,8 @@
#include <fstream> // NOLINT(readability/streams)
#include <sstream>
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/ast/scopeinfo.h"
#include "src/base/platform/platform.h"
#include "src/base/sys-info.h"
#include "src/base/utils/random-number-generator.h"
@ -32,7 +33,6 @@
#include "src/prototype.h"
#include "src/regexp/regexp-stack.h"
#include "src/runtime-profiler.h"
#include "src/scopeinfo.h"
#include "src/simulator.h"
#include "src/snapshot/serialize.h"
#include "src/v8.h"

View File

@ -7,7 +7,7 @@
#define V8_MIPS_CODEGEN_MIPS_H_
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/macro-assembler.h"
namespace v8 {

View File

@ -7,7 +7,7 @@
#define V8_MIPS_CODEGEN_MIPS_H_
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/macro-assembler.h"
namespace v8 {

View File

@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_EXPRESSION_CLASSIFIER_H
#define V8_EXPRESSION_CLASSIFIER_H
#ifndef V8_PARSING_EXPRESSION_CLASSIFIER_H
#define V8_PARSING_EXPRESSION_CLASSIFIER_H
#include "src/messages.h"
#include "src/scanner.h"
#include "src/token.h"
#include "src/parsing/scanner.h"
#include "src/parsing/token.h"
namespace v8 {
namespace internal {
@ -301,4 +301,4 @@ class ExpressionClassifier {
} // namespace internal
} // namespace v8
#endif // V8_EXPRESSION_CLASSIFIER_H
#endif // V8_PARSING_EXPRESSION_CLASSIFIER_H

View File

@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/func-name-inferrer.h"
#include "src/parsing/func-name-inferrer.h"
#include "src/ast.h"
#include "src/ast-value-factory.h"
#include "src/ast/ast.h"
#include "src/ast/ast-value-factory.h"
#include "src/list-inl.h"
namespace v8 {

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_FUNC_NAME_INFERRER_H_
#define V8_FUNC_NAME_INFERRER_H_
#ifndef V8_PARSING_FUNC_NAME_INFERRER_H_
#define V8_PARSING_FUNC_NAME_INFERRER_H_
#include "src/handles.h"
#include "src/zone.h"
@ -112,4 +112,4 @@ class FuncNameInferrer : public ZoneObject {
} // namespace internal
} // namespace v8
#endif // V8_FUNC_NAME_INFERRER_H_
#endif // V8_PARSING_FUNC_NAME_INFERRER_H_

View File

@ -2,16 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_JSON_PARSER_H_
#define V8_JSON_PARSER_H_
#ifndef V8_PARSING_JSON_PARSER_H_
#define V8_PARSING_JSON_PARSER_H_
#include "src/char-predicates.h"
#include "src/conversions.h"
#include "src/debug/debug.h"
#include "src/factory.h"
#include "src/messages.h"
#include "src/scanner.h"
#include "src/token.h"
#include "src/parsing/scanner.h"
#include "src/parsing/token.h"
#include "src/transitions.h"
#include "src/types.h"
@ -848,4 +848,4 @@ Handle<String> JsonParser<seq_one_byte>::ScanJsonString() {
} // namespace internal
} // namespace v8
#endif // V8_JSON_PARSER_H_
#endif // V8_PARSING_JSON_PARSER_H_

View File

@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/parameter-initializer-rewriter.h"
#include "src/parsing/parameter-initializer-rewriter.h"
#include "src/ast.h"
#include "src/ast-expression-visitor.h"
#include "src/scopes.h"
#include "src/ast/ast.h"
#include "src/ast/ast-expression-visitor.h"
#include "src/ast/scopes.h"
namespace v8 {
namespace internal {

View File

@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_PARAMETER_EXPRESSION_REWRITER_H_
#define V8_PARAMETER_EXPRESSION_REWRITER_H_
#ifndef V8_PARSING_PARAMETER_EXPRESSION_REWRITER_H_
#define V8_PARSING_PARAMETER_EXPRESSION_REWRITER_H_
#include "src/ast.h"
#include "src/ast/ast.h"
namespace v8 {
namespace internal {
@ -19,4 +19,4 @@ void RewriteParameterInitializerScope(uintptr_t stack_limit,
} // namespace internal
} // namespace v8
#endif // V8_PARAMETER_EXPRESSION_REWRITER_H_
#endif // V8_PARSING_PARAMETER_EXPRESSION_REWRITER_H_

View File

@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/parser.h"
#include "src/parsing/parser.h"
#include "src/api.h"
#include "src/ast.h"
#include "src/ast-literal-reindexer.h"
#include "src/ast/ast.h"
#include "src/ast/ast-literal-reindexer.h"
#include "src/ast/scopeinfo.h"
#include "src/bailout-reason.h"
#include "src/base/platform/platform.h"
#include "src/bootstrapper.h"
@ -14,12 +15,11 @@
#include "src/codegen.h"
#include "src/compiler.h"
#include "src/messages.h"
#include "src/parameter-initializer-rewriter.h"
#include "src/preparser.h"
#include "src/rewriter.h"
#include "src/parsing/parameter-initializer-rewriter.h"
#include "src/parsing/preparser.h"
#include "src/parsing/rewriter.h"
#include "src/parsing/scanner-character-streams.h"
#include "src/runtime/runtime.h"
#include "src/scanner-character-streams.h"
#include "src/scopeinfo.h"
#include "src/string-stream.h"
namespace v8 {

View File

@ -2,17 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_PARSER_H_
#define V8_PARSER_H_
#ifndef V8_PARSING_PARSER_H_
#define V8_PARSING_PARSER_H_
#include "src/allocation.h"
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/ast/scopes.h"
#include "src/compiler.h" // TODO(titzer): remove this include dependency
#include "src/parsing/preparse-data.h"
#include "src/parsing/preparse-data-format.h"
#include "src/parsing/preparser.h"
#include "src/pending-compilation-error-handler.h"
#include "src/preparse-data.h"
#include "src/preparse-data-format.h"
#include "src/preparser.h"
#include "src/scopes.h"
namespace v8 {
@ -1409,4 +1409,4 @@ DoExpression* ParserTraits::ParseDoExpression(bool* ok) {
} // namespace internal
} // namespace v8
#endif // V8_PARSER_H_
#endif // V8_PARSING_PARSER_H_

View File

@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ast.h"
#include "src/ast/ast.h"
#include "src/messages.h"
#include "src/parameter-initializer-rewriter.h"
#include "src/parser.h"
#include "src/parsing/parameter-initializer-rewriter.h"
#include "src/parsing/parser.h"
namespace v8 {

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_PREPARSE_DATA_FORMAT_H_
#define V8_PREPARSE_DATA_FORMAT_H_
#ifndef V8_PARSING_PREPARSE_DATA_FORMAT_H_
#define V8_PARSING_PREPARSE_DATA_FORMAT_H_
namespace v8 {
namespace internal {
@ -38,4 +38,4 @@ struct PreparseDataConstants {
} // namespace internal
} // namespace v8.
#endif // V8_PREPARSE_DATA_FORMAT_H_
#endif // V8_PARSING_PREPARSE_DATA_FORMAT_H_

View File

@ -5,9 +5,9 @@
#include "src/base/logging.h"
#include "src/globals.h"
#include "src/hashmap.h"
#include "src/parser.h"
#include "src/preparse-data.h"
#include "src/preparse-data-format.h"
#include "src/parsing/parser.h"
#include "src/parsing/preparse-data.h"
#include "src/parsing/preparse-data-format.h"
namespace v8 {
namespace internal {

View File

@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_PREPARSE_DATA_H_
#define V8_PREPARSE_DATA_H_
#ifndef V8_PARSING_PREPARSE_DATA_H_
#define V8_PARSING_PREPARSE_DATA_H_
#include "src/allocation.h"
#include "src/hashmap.h"
#include "src/messages.h"
#include "src/preparse-data-format.h"
#include "src/parsing/preparse-data-format.h"
namespace v8 {
namespace internal {
@ -209,4 +209,4 @@ class CompleteParserRecorder : public ParserRecorder {
} // namespace internal
} // namespace v8.
#endif // V8_PREPARSE_DATA_H_
#endif // V8_PARSING_PREPARSE_DATA_H_

Some files were not shown because too many files have changed in this diff Show More