OLD | NEW |
---|---|
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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
192 void VisitNot(UnaryOperation* expr); | 192 void VisitNot(UnaryOperation* expr); |
193 | 193 |
194 // Dispatched from VisitBinaryOperation. | 194 // Dispatched from VisitBinaryOperation. |
195 void VisitComma(BinaryOperation* expr); | 195 void VisitComma(BinaryOperation* expr); |
196 void VisitLogicalExpression(BinaryOperation* expr); | 196 void VisitLogicalExpression(BinaryOperation* expr); |
197 void VisitArithmeticExpression(BinaryOperation* expr); | 197 void VisitArithmeticExpression(BinaryOperation* expr); |
198 | 198 |
199 // Dispatched from VisitForInStatement. | 199 // Dispatched from VisitForInStatement. |
200 void VisitForInAssignment(Expression* expr, Node* value, | 200 void VisitForInAssignment(Expression* expr, Node* value, |
201 BailoutId bailout_id); | 201 BailoutId bailout_id); |
202 void BuildForInBody(ForInStatement* stmt); | |
Michael Starzinger
2015/01/29 15:08:10
Please call this s/Build/Visit/ here, there is a c
titzer
2015/01/29 16:51:11
Done.
| |
202 | 203 |
203 // Dispatched from VisitClassLiteral. | 204 // Dispatched from VisitClassLiteral. |
204 void VisitClassLiteralContents(ClassLiteral* expr); | 205 void VisitClassLiteralContents(ClassLiteral* expr); |
205 | 206 |
206 // Builds deoptimization for a given node. | 207 // Builds deoptimization for a given node. |
207 void PrepareFrameState( | 208 void PrepareFrameState( |
208 Node* node, BailoutId ast_id, | 209 Node* node, BailoutId ast_id, |
209 OutputFrameStateCombine combine = OutputFrameStateCombine::Ignore()); | 210 OutputFrameStateCombine combine = OutputFrameStateCombine::Ignore()); |
210 | 211 |
211 BitVector* GetVariablesAssignedInLoop(IterationStatement* stmt); | 212 BitVector* GetVariablesAssignedInLoop(IterationStatement* stmt); |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
455 | 456 |
456 Scope* AstGraphBuilder::current_scope() const { | 457 Scope* AstGraphBuilder::current_scope() const { |
457 return execution_context_->scope(); | 458 return execution_context_->scope(); |
458 } | 459 } |
459 | 460 |
460 } // namespace compiler | 461 } // namespace compiler |
461 } // namespace internal | 462 } // namespace internal |
462 } // namespace v8 | 463 } // namespace v8 |
463 | 464 |
464 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ | 465 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ |
OLD | NEW |