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

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

Issue 880443004: Fix try-finally for dead AST-branches in TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 months 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 | « no previous file | src/compiler/ast-graph-builder.cc » ('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 #ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_ 5 #ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_
6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_ 6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/ast.h" 10 #include "src/ast.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #define DECLARE_VISIT(type) void Visit##type(type* node) OVERRIDE; 48 #define DECLARE_VISIT(type) void Visit##type(type* node) OVERRIDE;
49 // Visiting functions for AST nodes make this an AstVisitor. 49 // Visiting functions for AST nodes make this an AstVisitor.
50 AST_NODE_LIST(DECLARE_VISIT) 50 AST_NODE_LIST(DECLARE_VISIT)
51 #undef DECLARE_VISIT 51 #undef DECLARE_VISIT
52 52
53 // Visiting function for declarations list is overridden. 53 // Visiting function for declarations list is overridden.
54 void VisitDeclarations(ZoneList<Declaration*>* declarations) OVERRIDE; 54 void VisitDeclarations(ZoneList<Declaration*>* declarations) OVERRIDE;
55 55
56 // Get the node that represents the outer function context. 56 // Get the node that represents the outer function context.
57 Node* GetFunctionContext(); 57 Node* GetFunctionContext();
58
58 // Get the node that represents the outer function closure. 59 // Get the node that represents the outer function closure.
59 Node* GetFunctionClosure(); 60 Node* GetFunctionClosure();
60 61
61 private: 62 private:
62 class AstContext; 63 class AstContext;
63 class AstEffectContext; 64 class AstEffectContext;
64 class AstValueContext; 65 class AstValueContext;
65 class AstTestContext; 66 class AstTestContext;
66 class ContextScope; 67 class ContextScope;
67 class ControlScope; 68 class ControlScope;
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 452
452 // Prepare environment to be used as loop header. 453 // Prepare environment to be used as loop header.
453 void PrepareForLoop(BitVector* assigned, bool is_osr = false); 454 void PrepareForLoop(BitVector* assigned, bool is_osr = false);
454 }; 455 };
455 456
456 } // namespace compiler 457 } // namespace compiler
457 } // namespace internal 458 } // namespace internal
458 } // namespace v8 459 } // namespace v8
459 460
460 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 461 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698