| 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 // Class for intrinsifying functions. | 4 // Class for intrinsifying functions. |
| 5 | 5 |
| 6 #ifndef VM_INTRINSIFIER_H_ | 6 #ifndef VM_INTRINSIFIER_H_ |
| 7 #define VM_INTRINSIFIER_H_ | 7 #define VM_INTRINSIFIER_H_ |
| 8 | 8 |
| 9 #include "vm/allocation.h" | 9 #include "vm/allocation.h" |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 V(_Double, <=, Double_lessEqualThan, 467854831) \ | 24 V(_Double, <=, Double_lessEqualThan, 467854831) \ |
| 25 V(_Double, ==, Double_equal, 1917937673) \ | 25 V(_Double, ==, Double_equal, 1917937673) \ |
| 26 V(_Double, +, Double_add, 461982313) \ | 26 V(_Double, +, Double_add, 461982313) \ |
| 27 V(_Double, -, Double_sub, 1346226222) \ | 27 V(_Double, -, Double_sub, 1346226222) \ |
| 28 V(_Double, *, Double_mul, 18608141) \ | 28 V(_Double, *, Double_mul, 18608141) \ |
| 29 V(_Double, /, Double_div, 2070118187) \ | 29 V(_Double, /, Double_div, 2070118187) \ |
| 30 V(_Double, get:isNaN, Double_getIsNaN, 916566322) \ | 30 V(_Double, get:isNaN, Double_getIsNaN, 916566322) \ |
| 31 V(_Double, get:isNegative, Double_getIsNegative, 1711391869) \ | 31 V(_Double, get:isNegative, Double_getIsNegative, 1711391869) \ |
| 32 V(_Double, _mulFromInteger, Double_mulFromInteger, 1238321808) \ | 32 V(_Double, _mulFromInteger, Double_mulFromInteger, 1238321808) \ |
| 33 V(_Double, .fromInteger, Double_fromInteger, 82414734) \ | 33 V(_Double, .fromInteger, Double_fromInteger, 82414734) \ |
| 34 V(_ObjectArray, ., ObjectArray_Allocate, 1558200848) \ | 34 V(_List, ., List_Allocate, 1436567945) \ |
| 35 V(_ObjectArray, get:length, Array_getLength, 259382695) \ | 35 V(_List, get:length, Array_getLength, 215153395) \ |
| 36 V(_ObjectArray, [], Array_getIndexed, 544020319) \ | 36 V(_List, [], Array_getIndexed, 1079829188) \ |
| 37 V(_ObjectArray, []=, Array_setIndexed, 304306010) \ | 37 V(_List, []=, Array_setIndexed, 748954698) \ |
| 38 V(_GrowableObjectArray, .withData, GrowableArray_Allocate, 619965861) \ | 38 V(_GrowableList, .withData, GrowableList_Allocate, 461305701) \ |
| 39 V(_GrowableObjectArray, get:length, GrowableArray_getLength, 1160417196) \ | 39 V(_GrowableList, get:length, GrowableList_getLength, 1654225242) \ |
| 40 V(_GrowableObjectArray, get:_capacity, GrowableArray_getCapacity, 1509841570)\ | 40 V(_GrowableList, get:_capacity, GrowableList_getCapacity, 817090003) \ |
| 41 V(_GrowableObjectArray, [], GrowableArray_getIndexed, 951312767) \ | 41 V(_GrowableList, [], GrowableList_getIndexed, 1686777561) \ |
| 42 V(_GrowableObjectArray, []=, GrowableArray_setIndexed, 1366856519) \ | 42 V(_GrowableList, []=, GrowableList_setIndexed, 327404102) \ |
| 43 V(_GrowableObjectArray, _setLength, GrowableArray_setLength, 1112774552) \ | 43 V(_GrowableList, _setLength, GrowableList_setLength, 1227678442) \ |
| 44 V(_GrowableObjectArray, _setData, GrowableArray_setData, 1574432374) \ | 44 V(_GrowableList, _setData, GrowableList_setData, 1375509957) \ |
| 45 V(_GrowableObjectArray, add, GrowableArray_add, 635801182) \ | 45 V(_GrowableList, add, GrowableList_add, 996912766) \ |
| 46 V(_ImmutableArray, [], ImmutableArray_getIndexed, 1345387065) \ | 46 V(_ImmutableList, [], ImmutableList_getIndexed, 25983597) \ |
| 47 V(_ImmutableArray, get:length, ImmutableArray_getLength, 1342001998) \ | 47 V(_ImmutableList, get:length, ImmutableList_getLength, 578733070) \ |
| 48 V(Object, ==, Object_equal, 936042315) \ | 48 V(Object, ==, Object_equal, 936042315) \ |
| 49 V(_StringBase, get:hashCode, String_getHashCode, 654543028) \ | 49 V(_StringBase, get:hashCode, String_getHashCode, 654543028) \ |
| 50 V(_StringBase, get:isEmpty, String_getIsEmpty, 879849436) \ | 50 V(_StringBase, get:isEmpty, String_getIsEmpty, 879849436) \ |
| 51 V(_StringBase, get:length, String_getLength, 1483520063) \ | 51 V(_StringBase, get:length, String_getLength, 1483520063) \ |
| 52 V(_StringBase, codeUnitAt, String_codeUnitAt, 1958436584) \ | 52 V(_StringBase, codeUnitAt, String_codeUnitAt, 1958436584) \ |
| 53 V(_OneByteString, get:hashCode, OneByteString_getHashCode, 1236464016) \ | 53 V(_OneByteString, get:hashCode, OneByteString_getHashCode, 1236464016) \ |
| 54 V(_OneByteString, _substringUncheckedNative, \ | 54 V(_OneByteString, _substringUncheckedNative, \ |
| 55 OneByteString_substringUnchecked, 25652388) \ | 55 OneByteString_substringUnchecked, 25652388) \ |
| 56 V(_OneByteString, _setAt, OneByteString_setAt, 308408714) \ | 56 V(_OneByteString, _setAt, OneByteString_setAt, 308408714) \ |
| 57 V(_OneByteString, _allocate, OneByteString_allocate, 1744068081) \ | 57 V(_OneByteString, _allocate, OneByteString_allocate, 1744068081) \ |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 CORE_INTEGER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 154 CORE_INTEGER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
| 155 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 155 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
| 156 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 156 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
| 157 | 157 |
| 158 #undef DECLARE_FUNCTION | 158 #undef DECLARE_FUNCTION |
| 159 }; | 159 }; |
| 160 | 160 |
| 161 } // namespace dart | 161 } // namespace dart |
| 162 | 162 |
| 163 #endif // VM_INTRINSIFIER_H_ | 163 #endif // VM_INTRINSIFIER_H_ |
| OLD | NEW |