| 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 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 | 33 |
| 34 // TODO(srdjan): Unify with INTRINSIC_LIST. | 34 // TODO(srdjan): Unify with INTRINSIC_LIST. |
| 35 // (class-name, function-name, recognized enum, fingerprint). | 35 // (class-name, function-name, recognized enum, fingerprint). |
| 36 // See intrinsifier for fingerprint computation. | 36 // See intrinsifier for fingerprint computation. |
| 37 #define RECOGNIZED_LIST(V) \ | 37 #define RECOGNIZED_LIST(V) \ |
| 38 V(_ObjectArray, get:length, ObjectArrayLength, 405297088) \ | 38 V(_ObjectArray, get:length, ObjectArrayLength, 405297088) \ |
| 39 V(_ImmutableArray, get:length, ImmutableArrayLength, 433698233) \ | 39 V(_ImmutableArray, get:length, ImmutableArrayLength, 433698233) \ |
| 40 V(_TypedList, get:length, TypedDataLength, 231908172) \ | 40 V(_TypedList, get:length, TypedDataLength, 231908172) \ |
| 41 V(_ByteArrayBase, get:length, ByteArrayBaseLength, 1098081765) \ | 41 V(_ByteArrayBase, get:length, ByteArrayBaseLength, 1098081765) \ |
| 42 V(_ByteArrayBase, _getInt8, ByteArrayBaseGetInt8, 261365835) \ | 42 V(_TypedList, _getInt8, TypedListGetInt8, 380843687) \ |
| 43 V(_ByteArrayBase, _getUint8, ByteArrayBaseGetUint8, 261365835) \ | 43 V(_TypedList, _getUint8, TypedListGetUint8, 380843687) \ |
| 44 V(_ByteArrayBase, _getInt16, ByteArrayBaseGetInt16, 261365835) \ | 44 V(_TypedList, _getInt16, TypedListGetInt16, 380843687) \ |
| 45 V(_ByteArrayBase, _getUint16, ByteArrayBaseGetUint16, 261365835) \ | 45 V(_TypedList, _getUint16, TypedListGetUint16, 380843687) \ |
| 46 V(_ByteArrayBase, _getInt32, ByteArrayBaseGetInt32, 261365835) \ | 46 V(_TypedList, _getInt32, TypedListGetInt32, 380843687) \ |
| 47 V(_ByteArrayBase, _getUint32, ByteArrayBaseGetUint32, 261365835) \ | 47 V(_TypedList, _getUint32, TypedListGetUint32, 380843687) \ |
| 48 V(_ByteArrayBase, _getFloat32, ByteArrayBaseGetFloat32, 434247298) \ | 48 V(_TypedList, _getFloat32, TypedListGetFloat32, 979971573) \ |
| 49 V(_ByteArrayBase, _getFloat64, ByteArrayBaseGetFloat64, 434247298) \ | 49 V(_TypedList, _getFloat64, TypedListGetFloat64, 979971573) \ |
| 50 V(_ByteArrayBase, _setInt8, ByteArrayBaseSetInt8, 501962848) \ | 50 V(_TypedList, _setInt8, TypedListSetInt8, 287047804) \ |
| 51 V(_ByteArrayBase, _setUint8, ByteArrayBaseSetUint8, 501962848) \ | 51 V(_TypedList, _setUint8, TypedListSetUint8, 287047804) \ |
| 52 V(_ByteArrayBase, _setInt16, ByteArrayBaseSetInt16, 501962848) \ | 52 V(_TypedList, _setInt16, TypedListSetInt16, 287047804) \ |
| 53 V(_ByteArrayBase, _setUint16, ByteArrayBaseSetUint16, 501962848) \ | 53 V(_TypedList, _setUint16, TypedListSetUint16, 287047804) \ |
| 54 V(_ByteArrayBase, _setInt32, ByteArrayBaseSetInt32, 501962848) \ | 54 V(_TypedList, _setInt32, TypedListSetInt32, 287047804) \ |
| 55 V(_ByteArrayBase, _setUint32, ByteArrayBaseSetUint32, 501962848) \ | 55 V(_TypedList, _setUint32, TypedListSetUint32, 287047804) \ |
| 56 V(_ByteArrayBase, _setFloat32, ByteArrayBaseSetFloat32, 864506525) \ | 56 V(_TypedList, _setFloat32, TypedListSetFloat32, 1032541114) \ |
| 57 V(_ByteArrayBase, _setFloat64, ByteArrayBaseSetFloat64, 864506525) \ | 57 V(_TypedList, _setFloat64, TypedListSetFloat64, 1032541114) \ |
| 58 V(_Float32Array, _getIndexed, Float32ArrayGetIndexed, 734006846) \ | 58 V(_Float32Array, _getIndexed, Float32ArrayGetIndexed, 734006846) \ |
| 59 V(_Float64Array, _getIndexed, Float64ArrayGetIndexed, 498074772) \ | 59 V(_Float64Array, _getIndexed, Float64ArrayGetIndexed, 498074772) \ |
| 60 V(_Int8Array, _getIndexed, Int8ArrayGetIndexed, 712069760) \ | 60 V(_Int8Array, _getIndexed, Int8ArrayGetIndexed, 712069760) \ |
| 61 V(_Uint8Array, _getIndexed, Uint8ArrayGetIndexed, 535849990) \ | 61 V(_Uint8Array, _getIndexed, Uint8ArrayGetIndexed, 535849990) \ |
| 62 V(_Uint8ClampedArray, _getIndexed, Uint8ClampedArrayGetIndexed, 873344956) \ | 62 V(_Uint8ClampedArray, _getIndexed, Uint8ClampedArrayGetIndexed, 873344956) \ |
| 63 V(_ExternalUint8Array, _getIndexed, ExternalUint8ArrayGetIndexed, 402720239) \ | 63 V(_ExternalUint8Array, _getIndexed, ExternalUint8ArrayGetIndexed, 402720239) \ |
| 64 V(_ExternalUint8ClampedArray, _getIndexed, \ | 64 V(_ExternalUint8ClampedArray, _getIndexed, \ |
| 65 ExternalUint8ClampedArrayGetIndexed, 682839007) \ | 65 ExternalUint8ClampedArrayGetIndexed, 682839007) \ |
| 66 V(_Int16Array, _getIndexed, Int16ArrayGetIndexed, 313999108) \ | 66 V(_Int16Array, _getIndexed, Int16ArrayGetIndexed, 313999108) \ |
| 67 V(_Uint16Array, _getIndexed, Uint16ArrayGetIndexed, 539701175) \ | 67 V(_Uint16Array, _getIndexed, Uint16ArrayGetIndexed, 539701175) \ |
| (...skipping 4466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4534 ForwardInstructionIterator* current_iterator_; | 4534 ForwardInstructionIterator* current_iterator_; |
| 4535 | 4535 |
| 4536 private: | 4536 private: |
| 4537 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 4537 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 4538 }; | 4538 }; |
| 4539 | 4539 |
| 4540 | 4540 |
| 4541 } // namespace dart | 4541 } // namespace dart |
| 4542 | 4542 |
| 4543 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 4543 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |