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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 V(_Int32x4Array, []=, Int32x4ArraySetIndexed, 973572811) \ | 170 V(_Int32x4Array, []=, Int32x4ArraySetIndexed, 973572811) \ |
171 | 171 |
172 | 172 |
173 // A list of core function that should always be inlined. | 173 // A list of core function that should always be inlined. |
174 #define INLINE_WHITE_LIST(V) \ | 174 #define INLINE_WHITE_LIST(V) \ |
175 V(_List, get:length, ObjectArrayLength, 215183186) \ | 175 V(_List, get:length, ObjectArrayLength, 215183186) \ |
176 V(_ImmutableList, get:length, ImmutableArrayLength, 578762861) \ | 176 V(_ImmutableList, get:length, ImmutableArrayLength, 578762861) \ |
177 V(_TypedList, get:length, TypedDataLength, 26646119) \ | 177 V(_TypedList, get:length, TypedDataLength, 26646119) \ |
178 V(_GrowableList, get:length, GrowableArrayLength, 1654255033) \ | 178 V(_GrowableList, get:length, GrowableArrayLength, 1654255033) \ |
179 V(_StringBase, get:length, StringBaseLength, 1483549854) \ | 179 V(_StringBase, get:length, StringBaseLength, 1483549854) \ |
180 V(ListIterator, moveNext, ListIteratorMoveNext, 881367324) \ | 180 V(ListIterator, moveNext, ListIteratorMoveNext, 2062984847) \ |
181 V(_GrowableList, get:iterator, GrowableArrayIterator, 1155241039) \ | 181 V(_GrowableList, get:iterator, GrowableArrayIterator, 1155241039) \ |
182 V(_GrowableList, forEach, GrowableArrayForEach, 195359970) \ | 182 V(_GrowableList, forEach, GrowableArrayForEach, 195359970) \ |
183 | 183 |
184 // A list of core functions that internally dispatch based on received id. | 184 // A list of core functions that internally dispatch based on received id. |
185 #define POLYMORPHIC_TARGET_LIST(V) \ | 185 #define POLYMORPHIC_TARGET_LIST(V) \ |
186 V(_TypedList, _getInt8, ByteArrayBaseGetInt8, 272598802) \ | 186 V(_TypedList, _getInt8, ByteArrayBaseGetInt8, 272598802) \ |
187 V(_TypedList, _getUint8, ByteArrayBaseGetUint8, 831354841) \ | 187 V(_TypedList, _getUint8, ByteArrayBaseGetUint8, 831354841) \ |
188 V(_TypedList, _getInt16, ByteArrayBaseGetInt16, 1832126257) \ | 188 V(_TypedList, _getInt16, ByteArrayBaseGetInt16, 1832126257) \ |
189 V(_TypedList, _getUint16, ByteArrayBaseGetUint16, 1762714698) \ | 189 V(_TypedList, _getUint16, ByteArrayBaseGetUint16, 1762714698) \ |
190 V(_TypedList, _getInt32, ByteArrayBaseGetInt32, 48785449) \ | 190 V(_TypedList, _getInt32, ByteArrayBaseGetInt32, 48785449) \ |
(...skipping 6929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7120 ForwardInstructionIterator* current_iterator_; | 7120 ForwardInstructionIterator* current_iterator_; |
7121 | 7121 |
7122 private: | 7122 private: |
7123 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 7123 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
7124 }; | 7124 }; |
7125 | 7125 |
7126 | 7126 |
7127 } // namespace dart | 7127 } // namespace dart |
7128 | 7128 |
7129 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 7129 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
OLD | NEW |