| 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 2581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2592 void set_start_env(Environment* env) { start_env_ = env; } | 2592 void set_start_env(Environment* env) { start_env_ = env; } |
| 2593 | 2593 |
| 2594 Definition* constant_null() const { return constant_null_; } | 2594 Definition* constant_null() const { return constant_null_; } |
| 2595 | 2595 |
| 2596 intptr_t spill_slot_count() const { return spill_slot_count_; } | 2596 intptr_t spill_slot_count() const { return spill_slot_count_; } |
| 2597 void set_spill_slot_count(intptr_t count) { | 2597 void set_spill_slot_count(intptr_t count) { |
| 2598 ASSERT(count >= 0); | 2598 ASSERT(count >= 0); |
| 2599 spill_slot_count_ = count; | 2599 spill_slot_count_ = count; |
| 2600 } | 2600 } |
| 2601 | 2601 |
| 2602 TargetEntryInstr* normal_entry() const { return normal_entry_; } |
| 2603 |
| 2602 private: | 2604 private: |
| 2603 TargetEntryInstr* normal_entry_; | 2605 TargetEntryInstr* normal_entry_; |
| 2604 GrowableArray<TargetEntryInstr*> catch_entries_; | 2606 GrowableArray<TargetEntryInstr*> catch_entries_; |
| 2605 Environment* start_env_; | 2607 Environment* start_env_; |
| 2606 Definition* constant_null_; | 2608 Definition* constant_null_; |
| 2607 intptr_t spill_slot_count_; | 2609 intptr_t spill_slot_count_; |
| 2608 | 2610 |
| 2609 DISALLOW_COPY_AND_ASSIGN(GraphEntryInstr); | 2611 DISALLOW_COPY_AND_ASSIGN(GraphEntryInstr); |
| 2610 }; | 2612 }; |
| 2611 | 2613 |
| (...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3260 ForwardInstructionIterator* current_iterator_; | 3262 ForwardInstructionIterator* current_iterator_; |
| 3261 | 3263 |
| 3262 private: | 3264 private: |
| 3263 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 3265 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 3264 }; | 3266 }; |
| 3265 | 3267 |
| 3266 | 3268 |
| 3267 } // namespace dart | 3269 } // namespace dart |
| 3268 | 3270 |
| 3269 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 3271 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |