| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1033 | 1033 |
| 1034 protected: | 1034 protected: |
| 1035 // Fetch deopt id without checking if this computation can deoptimize. | 1035 // Fetch deopt id without checking if this computation can deoptimize. |
| 1036 intptr_t GetDeoptId() const { | 1036 intptr_t GetDeoptId() const { |
| 1037 return deopt_id_; | 1037 return deopt_id_; |
| 1038 } | 1038 } |
| 1039 | 1039 |
| 1040 private: | 1040 private: |
| 1041 friend class FlowGraphPrinter; | 1041 friend class FlowGraphPrinter; |
| 1042 friend class Definition; // Needed for InsertBefore, InsertAfter. | 1042 friend class Definition; // Needed for InsertBefore, InsertAfter. |
| 1043 friend class CallSiteInliner; |
| 1043 | 1044 |
| 1044 // Classes that set or read deopt_id_. | 1045 // Classes that set or read deopt_id_. |
| 1045 friend class UnboxIntegerInstr; | 1046 friend class UnboxIntegerInstr; |
| 1046 friend class UnboxDoubleInstr; | 1047 friend class UnboxDoubleInstr; |
| 1047 friend class UnboxFloat32x4Instr; | 1048 friend class UnboxFloat32x4Instr; |
| 1048 friend class UnboxFloat64x2Instr; | 1049 friend class UnboxFloat64x2Instr; |
| 1049 friend class UnboxInt32x4Instr; | 1050 friend class UnboxInt32x4Instr; |
| 1050 friend class BinaryDoubleOpInstr; | 1051 friend class BinaryDoubleOpInstr; |
| 1051 friend class BinaryFloat32x4OpInstr; | 1052 friend class BinaryFloat32x4OpInstr; |
| 1052 friend class Float32x4ZeroInstr; | 1053 friend class Float32x4ZeroInstr; |
| (...skipping 6669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7722 ForwardInstructionIterator* current_iterator_; | 7723 ForwardInstructionIterator* current_iterator_; |
| 7723 | 7724 |
| 7724 private: | 7725 private: |
| 7725 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 7726 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 7726 }; | 7727 }; |
| 7727 | 7728 |
| 7728 | 7729 |
| 7729 } // namespace dart | 7730 } // namespace dart |
| 7730 | 7731 |
| 7731 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 7732 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |