Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Side by Side Diff: src/compiler/ast-graph-builder.cc

Issue 1481613002: Create ast/ and parsing/ subdirectories and move appropriate files (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/ast-graph-builder.h ('k') | src/compiler/ast-loop-assignment-analyzer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/ast-graph-builder.h" 5 #include "src/compiler/ast-graph-builder.h"
6 6
7 #include "src/ast/scopes.h"
7 #include "src/compiler.h" 8 #include "src/compiler.h"
8 #include "src/compiler/ast-loop-assignment-analyzer.h" 9 #include "src/compiler/ast-loop-assignment-analyzer.h"
9 #include "src/compiler/control-builders.h" 10 #include "src/compiler/control-builders.h"
10 #include "src/compiler/linkage.h" 11 #include "src/compiler/linkage.h"
11 #include "src/compiler/liveness-analyzer.h" 12 #include "src/compiler/liveness-analyzer.h"
12 #include "src/compiler/machine-operator.h" 13 #include "src/compiler/machine-operator.h"
13 #include "src/compiler/node-matchers.h" 14 #include "src/compiler/node-matchers.h"
14 #include "src/compiler/node-properties.h" 15 #include "src/compiler/node-properties.h"
15 #include "src/compiler/operator-properties.h" 16 #include "src/compiler/operator-properties.h"
16 #include "src/compiler/state-values-utils.h" 17 #include "src/compiler/state-values-utils.h"
17 #include "src/parser.h" 18 #include "src/parsing/parser.h"
18 #include "src/scopes.h"
19 19
20 namespace v8 { 20 namespace v8 {
21 namespace internal { 21 namespace internal {
22 namespace compiler { 22 namespace compiler {
23 23
24 24
25 // Each expression in the AST is evaluated in a specific context. This context 25 // Each expression in the AST is evaluated in a specific context. This context
26 // decides how the evaluation result is passed up the visitor. 26 // decides how the evaluation result is passed up the visitor.
27 class AstGraphBuilder::AstContext BASE_EMBEDDED { 27 class AstGraphBuilder::AstContext BASE_EMBEDDED {
28 public: 28 public:
(...skipping 4276 matching lines...) Expand 10 before | Expand all | Expand 10 after
4305 // Phi does not exist yet, introduce one. 4305 // Phi does not exist yet, introduce one.
4306 value = NewPhi(inputs, value, control); 4306 value = NewPhi(inputs, value, control);
4307 value->ReplaceInput(inputs - 1, other); 4307 value->ReplaceInput(inputs - 1, other);
4308 } 4308 }
4309 return value; 4309 return value;
4310 } 4310 }
4311 4311
4312 } // namespace compiler 4312 } // namespace compiler
4313 } // namespace internal 4313 } // namespace internal
4314 } // namespace v8 4314 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.h ('k') | src/compiler/ast-loop-assignment-analyzer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698