| 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_INTERMEDIATE_LANGUAGE_H_ | 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ |
| 6 #define VM_INTERMEDIATE_LANGUAGE_H_ | 6 #define VM_INTERMEDIATE_LANGUAGE_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/ast.h" | 9 #include "vm/ast.h" |
| 10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
| (...skipping 2679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2690 | 2690 |
| 2691 Environment* start_env() const { return start_env_; } | 2691 Environment* start_env() const { return start_env_; } |
| 2692 void set_start_env(Environment* env) { start_env_ = env; } | 2692 void set_start_env(Environment* env) { start_env_ = env; } |
| 2693 | 2693 |
| 2694 intptr_t spill_slot_count() const { return spill_slot_count_; } | 2694 intptr_t spill_slot_count() const { return spill_slot_count_; } |
| 2695 void set_spill_slot_count(intptr_t count) { | 2695 void set_spill_slot_count(intptr_t count) { |
| 2696 ASSERT(count >= 0); | 2696 ASSERT(count >= 0); |
| 2697 spill_slot_count_ = count; | 2697 spill_slot_count_ = count; |
| 2698 } | 2698 } |
| 2699 | 2699 |
| 2700 TargetEntryInstr* normal_entry() const { return normal_entry_; } |
| 2701 |
| 2700 private: | 2702 private: |
| 2701 TargetEntryInstr* normal_entry_; | 2703 TargetEntryInstr* normal_entry_; |
| 2702 GrowableArray<TargetEntryInstr*> catch_entries_; | 2704 GrowableArray<TargetEntryInstr*> catch_entries_; |
| 2703 Environment* start_env_; | 2705 Environment* start_env_; |
| 2704 intptr_t spill_slot_count_; | 2706 intptr_t spill_slot_count_; |
| 2705 | 2707 |
| 2706 DISALLOW_COPY_AND_ASSIGN(GraphEntryInstr); | 2708 DISALLOW_COPY_AND_ASSIGN(GraphEntryInstr); |
| 2707 }; | 2709 }; |
| 2708 | 2710 |
| 2709 | 2711 |
| (...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3362 ForwardInstructionIterator* current_iterator_; | 3364 ForwardInstructionIterator* current_iterator_; |
| 3363 | 3365 |
| 3364 private: | 3366 private: |
| 3365 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 3367 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 3366 }; | 3368 }; |
| 3367 | 3369 |
| 3368 | 3370 |
| 3369 } // namespace dart | 3371 } // namespace dart |
| 3370 | 3372 |
| 3371 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 3373 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |