| 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 V(_Float32x4Array, [], Float32x4ArrayGetIndexed, 1664843562) \ | 150 V(_Float32x4Array, [], Float32x4ArrayGetIndexed, 1664843562) \ |
| 151 | 151 |
| 152 | 152 |
| 153 // A list of core function that should always be inlined. | 153 // A list of core function that should always be inlined. |
| 154 #define INLINE_WHITE_LIST(V) \ | 154 #define INLINE_WHITE_LIST(V) \ |
| 155 V(_ObjectArray, get:length, ObjectArrayLength, 259352904) \ | 155 V(_ObjectArray, get:length, ObjectArrayLength, 259352904) \ |
| 156 V(_ImmutableArray, get:length, ImmutableArrayLength, 1341972207) \ | 156 V(_ImmutableArray, get:length, ImmutableArrayLength, 1341972207) \ |
| 157 V(_TypedList, get:length, TypedDataLength, 26586537) \ | 157 V(_TypedList, get:length, TypedDataLength, 26586537) \ |
| 158 V(_GrowableObjectArray, get:length, GrowableArrayLength, 1160387405) \ | 158 V(_GrowableObjectArray, get:length, GrowableArrayLength, 1160387405) \ |
| 159 V(_StringBase, get:length, StringBaseLength, 1483490272) \ | 159 V(_StringBase, get:length, StringBaseLength, 1483490272) \ |
| 160 V(ListIterator, moveNext, ListIteratorMoveNext, 657540761) \ | 160 V(ListIterator, moveNext, ListIteratorMoveNext, 1447977498) \ |
| 161 V(_GrowableObjectArray, get:iterator, GrowableArrayIterator, 281980741) \ | 161 V(_GrowableObjectArray, get:iterator, GrowableArrayIterator, 132094375) \ |
| 162 V(_GrowableObjectArray, forEach, GrowableArrayForEach, 334448248) | 162 V(_GrowableObjectArray, forEach, GrowableArrayForEach, 334448248) |
| 163 | 163 |
| 164 | 164 |
| 165 // Class that recognizes the name and owner of a function and returns the | 165 // Class that recognizes the name and owner of a function and returns the |
| 166 // corresponding enum. See RECOGNIZED_LIST above for list of recognizable | 166 // corresponding enum. See RECOGNIZED_LIST above for list of recognizable |
| 167 // functions. | 167 // functions. |
| 168 class MethodRecognizer : public AllStatic { | 168 class MethodRecognizer : public AllStatic { |
| 169 public: | 169 public: |
| 170 enum Kind { | 170 enum Kind { |
| 171 kUnknown, | 171 kUnknown, |
| (...skipping 6628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6800 ForwardInstructionIterator* current_iterator_; | 6800 ForwardInstructionIterator* current_iterator_; |
| 6801 | 6801 |
| 6802 private: | 6802 private: |
| 6803 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 6803 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 6804 }; | 6804 }; |
| 6805 | 6805 |
| 6806 | 6806 |
| 6807 } // namespace dart | 6807 } // namespace dart |
| 6808 | 6808 |
| 6809 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 6809 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |