| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 RUNTIME_VM_FLOW_GRAPH_RANGE_ANALYSIS_H_ | 5 #ifndef RUNTIME_VM_FLOW_GRAPH_RANGE_ANALYSIS_H_ |
| 6 #define RUNTIME_VM_FLOW_GRAPH_RANGE_ANALYSIS_H_ | 6 #define RUNTIME_VM_FLOW_GRAPH_RANGE_ANALYSIS_H_ |
| 7 | 7 |
| 8 #include "vm/flow_graph.h" | 8 #include "vm/flow_graph.h" |
| 9 #include "vm/intermediate_language.h" | 9 #include "vm/intermediate_language.h" |
| 10 | 10 |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 FlowGraph* flow_graph_; | 577 FlowGraph* flow_graph_; |
| 578 | 578 |
| 579 // Range object representing full Smi range. | 579 // Range object representing full Smi range. |
| 580 Range smi_range_; | 580 Range smi_range_; |
| 581 | 581 |
| 582 Range int64_range_; | 582 Range int64_range_; |
| 583 | 583 |
| 584 // Value that are known to be smi or mint. | 584 // Value that are known to be smi or mint. |
| 585 GrowableArray<Definition*> values_; | 585 GrowableArray<Definition*> values_; |
| 586 | 586 |
| 587 GrowableArray<BinaryMintOpInstr*> binary_mint_ops_; | 587 GrowableArray<BinaryInt64OpInstr*> binary_int64_ops_; |
| 588 | 588 |
| 589 GrowableArray<ShiftMintOpInstr*> shift_mint_ops_; | 589 GrowableArray<ShiftInt64OpInstr*> shift_int64_ops_; |
| 590 | 590 |
| 591 // All CheckArrayBound instructions. | 591 // All CheckArrayBound instructions. |
| 592 GrowableArray<CheckArrayBoundInstr*> bounds_checks_; | 592 GrowableArray<CheckArrayBoundInstr*> bounds_checks_; |
| 593 | 593 |
| 594 // All Constraints inserted during InsertConstraints phase. They are treated | 594 // All Constraints inserted during InsertConstraints phase. They are treated |
| 595 // as smi values. | 595 // as smi values. |
| 596 GrowableArray<ConstraintInstr*> constraints_; | 596 GrowableArray<ConstraintInstr*> constraints_; |
| 597 | 597 |
| 598 // List of integer (smi or mint) definitions including constraints sorted | 598 // List of integer (smi or mint) definitions including constraints sorted |
| 599 // in the reverse postorder. | 599 // in the reverse postorder. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 626 GrowableArray<Definition*> potential_uint32_defs_; | 626 GrowableArray<Definition*> potential_uint32_defs_; |
| 627 BitVector* selected_uint32_defs_; | 627 BitVector* selected_uint32_defs_; |
| 628 | 628 |
| 629 FlowGraph* flow_graph_; | 629 FlowGraph* flow_graph_; |
| 630 Zone* zone_; | 630 Zone* zone_; |
| 631 }; | 631 }; |
| 632 | 632 |
| 633 } // namespace dart | 633 } // namespace dart |
| 634 | 634 |
| 635 #endif // RUNTIME_VM_FLOW_GRAPH_RANGE_ANALYSIS_H_ | 635 #endif // RUNTIME_VM_FLOW_GRAPH_RANGE_ANALYSIS_H_ |
| OLD | NEW |