| 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 2727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2738 virtual bool HasSideEffect() const { return false; } | 2738 virtual bool HasSideEffect() const { return false; } |
| 2739 | 2739 |
| 2740 virtual intptr_t ResultCid() const; | 2740 virtual intptr_t ResultCid() const; |
| 2741 | 2741 |
| 2742 virtual Representation representation() const; | 2742 virtual Representation representation() const; |
| 2743 | 2743 |
| 2744 virtual bool AttributesEqual(Instruction* other) const; | 2744 virtual bool AttributesEqual(Instruction* other) const; |
| 2745 | 2745 |
| 2746 virtual bool AffectedBySideEffect() const { return true; } | 2746 virtual bool AffectedBySideEffect() const { return true; } |
| 2747 | 2747 |
| 2748 virtual void InferRange(); |
| 2749 |
| 2748 private: | 2750 private: |
| 2749 const intptr_t class_id_; | 2751 const intptr_t class_id_; |
| 2750 | 2752 |
| 2751 DISALLOW_COPY_AND_ASSIGN(LoadIndexedInstr); | 2753 DISALLOW_COPY_AND_ASSIGN(LoadIndexedInstr); |
| 2752 }; | 2754 }; |
| 2753 | 2755 |
| 2754 | 2756 |
| 2755 class StoreIndexedInstr : public TemplateDefinition<3> { | 2757 class StoreIndexedInstr : public TemplateDefinition<3> { |
| 2756 public: | 2758 public: |
| 2757 StoreIndexedInstr(Value* array, | 2759 StoreIndexedInstr(Value* array, |
| (...skipping 1517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4275 ForwardInstructionIterator* current_iterator_; | 4277 ForwardInstructionIterator* current_iterator_; |
| 4276 | 4278 |
| 4277 private: | 4279 private: |
| 4278 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 4280 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 4279 }; | 4281 }; |
| 4280 | 4282 |
| 4281 | 4283 |
| 4282 } // namespace dart | 4284 } // namespace dart |
| 4283 | 4285 |
| 4284 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 4286 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |