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/ast.h" | 8 #include "src/ast.h" |
9 #include "src/compiler/js-graph.h" | 9 #include "src/compiler/js-graph.h" |
10 #include "src/compiler/liveness-analyzer.h" | 10 #include "src/compiler/liveness-analyzer.h" |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 OutputFrameStateCombine combine = OutputFrameStateCombine::Ignore()); | 261 OutputFrameStateCombine combine = OutputFrameStateCombine::Ignore()); |
262 Node* BuildVariableDelete(Variable* var, BailoutId bailout_id, | 262 Node* BuildVariableDelete(Variable* var, BailoutId bailout_id, |
263 OutputFrameStateCombine combine); | 263 OutputFrameStateCombine combine); |
264 Node* BuildVariableLoad(FrameStateBeforeAndAfter& states, Variable* var, | 264 Node* BuildVariableLoad(FrameStateBeforeAndAfter& states, Variable* var, |
265 BailoutId bailout_id, const VectorSlotPair& feedback, | 265 BailoutId bailout_id, const VectorSlotPair& feedback, |
266 OutputFrameStateCombine combine, | 266 OutputFrameStateCombine combine, |
267 ContextualMode mode = CONTEXTUAL); | 267 ContextualMode mode = CONTEXTUAL); |
268 | 268 |
269 // Builders for property loads and stores. | 269 // Builders for property loads and stores. |
270 Node* BuildKeyedLoad(Node* receiver, Node* key, | 270 Node* BuildKeyedLoad(Node* receiver, Node* key, |
271 const VectorSlotPair& feedback, TypeFeedbackId id); | 271 const VectorSlotPair& feedback); |
272 Node* BuildNamedLoad(Node* receiver, Handle<Name> name, | 272 Node* BuildNamedLoad(Node* receiver, Handle<Name> name, |
273 const VectorSlotPair& feedback, TypeFeedbackId id, | 273 const VectorSlotPair& feedback, |
274 ContextualMode mode = NOT_CONTEXTUAL); | 274 ContextualMode mode = NOT_CONTEXTUAL); |
275 Node* BuildKeyedStore(Node* receiver, Node* key, Node* value, | 275 Node* BuildKeyedStore(Node* receiver, Node* key, Node* value, |
276 TypeFeedbackId id); | 276 TypeFeedbackId id); |
277 Node* BuildNamedStore(Node* receiver, Handle<Name>, Node* value, | 277 Node* BuildNamedStore(Node* receiver, Handle<Name>, Node* value, |
278 TypeFeedbackId id); | 278 TypeFeedbackId id); |
279 | 279 |
280 // Builders for accessing the function context. | 280 // Builders for accessing the function context. |
281 Node* BuildLoadBuiltinsObject(); | 281 Node* BuildLoadBuiltinsObject(); |
282 Node* BuildLoadGlobalObject(); | 282 Node* BuildLoadGlobalObject(); |
283 Node* BuildLoadGlobalProxy(); | 283 Node* BuildLoadGlobalProxy(); |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 | 507 |
508 // Prepare environment to be used as loop header. | 508 // Prepare environment to be used as loop header. |
509 void PrepareForLoop(BitVector* assigned, bool is_osr = false); | 509 void PrepareForLoop(BitVector* assigned, bool is_osr = false); |
510 }; | 510 }; |
511 | 511 |
512 } // namespace compiler | 512 } // namespace compiler |
513 } // namespace internal | 513 } // namespace internal |
514 } // namespace v8 | 514 } // namespace v8 |
515 | 515 |
516 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ | 516 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ |
OLD | NEW |