Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: runtime/vm/bootstrap_natives.h

Issue 24975002: - Implement a first cut for const String.env in the VM to allow (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/lib/string_patch.dart ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 4
5 #ifndef VM_BOOTSTRAP_NATIVES_H_ 5 #ifndef VM_BOOTSTRAP_NATIVES_H_
6 #define VM_BOOTSTRAP_NATIVES_H_ 6 #define VM_BOOTSTRAP_NATIVES_H_
7 7
8 #include "vm/native_entry.h" 8 #include "vm/native_entry.h"
9 9
10 // bootstrap dart natives used in the core dart library. 10 // bootstrap dart natives used in the core dart library.
(...skipping 19 matching lines...) Expand all
30 V(Integer_bitAndFromInteger, 2) \ 30 V(Integer_bitAndFromInteger, 2) \
31 V(Integer_bitOrFromInteger, 2) \ 31 V(Integer_bitOrFromInteger, 2) \
32 V(Integer_bitXorFromInteger, 2) \ 32 V(Integer_bitXorFromInteger, 2) \
33 V(Integer_addFromInteger, 2) \ 33 V(Integer_addFromInteger, 2) \
34 V(Integer_subFromInteger, 2) \ 34 V(Integer_subFromInteger, 2) \
35 V(Integer_mulFromInteger, 2) \ 35 V(Integer_mulFromInteger, 2) \
36 V(Integer_truncDivFromInteger, 2) \ 36 V(Integer_truncDivFromInteger, 2) \
37 V(Integer_moduloFromInteger, 2) \ 37 V(Integer_moduloFromInteger, 2) \
38 V(Integer_greaterThanFromInteger, 2) \ 38 V(Integer_greaterThanFromInteger, 2) \
39 V(Integer_equalToInteger, 2) \ 39 V(Integer_equalToInteger, 2) \
40 V(Integer_fromEnvironment, 3) \
40 V(Integer_parse, 1) \ 41 V(Integer_parse, 1) \
41 V(Integer_leftShiftWithMask32, 3) \ 42 V(Integer_leftShiftWithMask32, 3) \
42 V(ReceivePortImpl_factory, 1) \ 43 V(ReceivePortImpl_factory, 1) \
43 V(ReceivePortImpl_closeInternal, 1) \ 44 V(ReceivePortImpl_closeInternal, 1) \
44 V(SendPortImpl_sendInternal_, 3) \ 45 V(SendPortImpl_sendInternal_, 3) \
45 V(Smi_shlFromInt, 2) \ 46 V(Smi_shlFromInt, 2) \
46 V(Smi_shrFromInt, 2) \ 47 V(Smi_shrFromInt, 2) \
47 V(Smi_bitNegate, 1) \ 48 V(Smi_bitNegate, 1) \
48 V(Smi_bitLength, 1) \ 49 V(Smi_bitLength, 1) \
49 V(Mint_bitNegate, 1) \ 50 V(Mint_bitNegate, 1) \
50 V(Mint_bitLength, 1) \ 51 V(Mint_bitLength, 1) \
51 V(Mint_shlFromInt, 2) \ 52 V(Mint_shlFromInt, 2) \
52 V(Bigint_bitNegate, 1) \ 53 V(Bigint_bitNegate, 1) \
53 V(Bigint_bitLength, 1) \ 54 V(Bigint_bitLength, 1) \
54 V(Bigint_shlFromInt, 2) \ 55 V(Bigint_shlFromInt, 2) \
56 V(Boolean_fromEnvironment, 3) \
55 V(Double_getIsNegative, 1) \ 57 V(Double_getIsNegative, 1) \
56 V(Double_getIsInfinite, 1) \ 58 V(Double_getIsInfinite, 1) \
57 V(Double_getIsNaN, 1) \ 59 V(Double_getIsNaN, 1) \
58 V(Double_add, 2) \ 60 V(Double_add, 2) \
59 V(Double_sub, 2) \ 61 V(Double_sub, 2) \
60 V(Double_mul, 2) \ 62 V(Double_mul, 2) \
61 V(Double_div, 2) \ 63 V(Double_div, 2) \
62 V(Double_trunc_div, 2) \ 64 V(Double_trunc_div, 2) \
63 V(Double_remainder, 2) \ 65 V(Double_remainder, 2) \
64 V(Double_modulo, 2) \ 66 V(Double_modulo, 2) \
(...skipping 27 matching lines...) Expand all
92 V(StringBuffer_createStringFromUint16Array, 3) \ 94 V(StringBuffer_createStringFromUint16Array, 3) \
93 V(OneByteString_substringUnchecked, 3) \ 95 V(OneByteString_substringUnchecked, 3) \
94 V(OneByteString_splitWithCharCode, 2) \ 96 V(OneByteString_splitWithCharCode, 2) \
95 V(OneByteString_allocate, 1) \ 97 V(OneByteString_allocate, 1) \
96 V(OneByteString_setAt, 3) \ 98 V(OneByteString_setAt, 3) \
97 V(String_getHashCode, 1) \ 99 V(String_getHashCode, 1) \
98 V(String_getLength, 1) \ 100 V(String_getLength, 1) \
99 V(String_charAt, 2) \ 101 V(String_charAt, 2) \
100 V(String_codeUnitAt, 2) \ 102 V(String_codeUnitAt, 2) \
101 V(String_concat, 2) \ 103 V(String_concat, 2) \
104 V(String_fromEnvironment, 3) \
102 V(String_toLowerCase, 1) \ 105 V(String_toLowerCase, 1) \
103 V(String_toUpperCase, 1) \ 106 V(String_toUpperCase, 1) \
104 V(Strings_concatAll, 3) \ 107 V(Strings_concatAll, 3) \
105 V(Math_sqrt, 1) \ 108 V(Math_sqrt, 1) \
106 V(Math_sin, 1) \ 109 V(Math_sin, 1) \
107 V(Math_cos, 1) \ 110 V(Math_cos, 1) \
108 V(Math_tan, 1) \ 111 V(Math_tan, 1) \
109 V(Math_asin, 1) \ 112 V(Math_asin, 1) \
110 V(Math_acos, 1) \ 113 V(Math_acos, 1) \
111 V(Math_atan, 1) \ 114 V(Math_atan, 1) \
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 static void DN_##name(Dart_NativeArguments args); 322 static void DN_##name(Dart_NativeArguments args);
320 323
321 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 324 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
322 325
323 #undef DECLARE_BOOTSTRAP_NATIVE 326 #undef DECLARE_BOOTSTRAP_NATIVE
324 }; 327 };
325 328
326 } // namespace dart 329 } // namespace dart
327 330
328 #endif // VM_BOOTSTRAP_NATIVES_H_ 331 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/string_patch.dart ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698