OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_FLOW_GRAPH_COMPILER_H_ | 5 #ifndef VM_FLOW_GRAPH_COMPILER_H_ |
6 #define VM_FLOW_GRAPH_COMPILER_H_ | 6 #define VM_FLOW_GRAPH_COMPILER_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
10 #include "vm/code_descriptors.h" | 10 #include "vm/code_descriptors.h" |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 | 418 |
419 void AddDeoptIndexAtCall(intptr_t deopt_id, intptr_t token_pos); | 419 void AddDeoptIndexAtCall(intptr_t deopt_id, intptr_t token_pos); |
420 | 420 |
421 void AddSlowPathCode(SlowPathCode* slow_path); | 421 void AddSlowPathCode(SlowPathCode* slow_path); |
422 | 422 |
423 void FinalizeExceptionHandlers(const Code& code); | 423 void FinalizeExceptionHandlers(const Code& code); |
424 void FinalizePcDescriptors(const Code& code); | 424 void FinalizePcDescriptors(const Code& code); |
425 void FinalizeDeoptInfo(const Code& code); | 425 void FinalizeDeoptInfo(const Code& code); |
426 void FinalizeStackmaps(const Code& code); | 426 void FinalizeStackmaps(const Code& code); |
427 void FinalizeVarDescriptors(const Code& code); | 427 void FinalizeVarDescriptors(const Code& code); |
428 void FinalizeComments(const Code& code); | |
429 void FinalizeStaticCallTargetsTable(const Code& code); | 428 void FinalizeStaticCallTargetsTable(const Code& code); |
430 | 429 |
431 const Class& double_class() const { return double_class_; } | 430 const Class& double_class() const { return double_class_; } |
432 const Class& float32x4_class() const { return float32x4_class_; } | 431 const Class& float32x4_class() const { return float32x4_class_; } |
433 const Class& float64x2_class() const { return float64x2_class_; } | 432 const Class& float64x2_class() const { return float64x2_class_; } |
434 const Class& int32x4_class() const { return int32x4_class_; } | 433 const Class& int32x4_class() const { return int32x4_class_; } |
435 | 434 |
436 void SaveLiveRegisters(LocationSummary* locs); | 435 void SaveLiveRegisters(LocationSummary* locs); |
437 void RestoreLiveRegisters(LocationSummary* locs); | 436 void RestoreLiveRegisters(LocationSummary* locs); |
438 | 437 |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 // that should be used when deoptimizing we store it in this variable. | 605 // that should be used when deoptimizing we store it in this variable. |
607 // In future AddDeoptStub should be moved out of the instruction template. | 606 // In future AddDeoptStub should be moved out of the instruction template. |
608 Environment* pending_deoptimization_env_; | 607 Environment* pending_deoptimization_env_; |
609 | 608 |
610 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 609 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
611 }; | 610 }; |
612 | 611 |
613 } // namespace dart | 612 } // namespace dart |
614 | 613 |
615 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 614 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
OLD | NEW |