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

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

Issue 23645003: Esoteric bit operations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months 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/vm/bigint_operations.cc ('k') | runtime/vm/intrinsifier.h » ('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 27 matching lines...) Expand all
38 V(Integer_greaterThanFromInteger, 2) \ 38 V(Integer_greaterThanFromInteger, 2) \
39 V(Integer_equalToInteger, 2) \ 39 V(Integer_equalToInteger, 2) \
40 V(Integer_parse, 1) \ 40 V(Integer_parse, 1) \
41 V(Integer_leftShiftWithMask32, 3) \ 41 V(Integer_leftShiftWithMask32, 3) \
42 V(ReceivePortImpl_factory, 1) \ 42 V(ReceivePortImpl_factory, 1) \
43 V(ReceivePortImpl_closeInternal, 1) \ 43 V(ReceivePortImpl_closeInternal, 1) \
44 V(SendPortImpl_sendInternal_, 3) \ 44 V(SendPortImpl_sendInternal_, 3) \
45 V(Smi_shlFromInt, 2) \ 45 V(Smi_shlFromInt, 2) \
46 V(Smi_shrFromInt, 2) \ 46 V(Smi_shrFromInt, 2) \
47 V(Smi_bitNegate, 1) \ 47 V(Smi_bitNegate, 1) \
48 V(Smi_bitLength, 1) \
48 V(Mint_bitNegate, 1) \ 49 V(Mint_bitNegate, 1) \
50 V(Mint_bitLength, 1) \
49 V(Mint_shlFromInt, 2) \ 51 V(Mint_shlFromInt, 2) \
50 V(Bigint_bitNegate, 1) \ 52 V(Bigint_bitNegate, 1) \
53 V(Bigint_bitLength, 1) \
51 V(Bigint_shlFromInt, 2) \ 54 V(Bigint_shlFromInt, 2) \
52 V(Double_getIsNegative, 1) \ 55 V(Double_getIsNegative, 1) \
53 V(Double_getIsInfinite, 1) \ 56 V(Double_getIsInfinite, 1) \
54 V(Double_getIsNaN, 1) \ 57 V(Double_getIsNaN, 1) \
55 V(Double_add, 2) \ 58 V(Double_add, 2) \
56 V(Double_sub, 2) \ 59 V(Double_sub, 2) \
57 V(Double_mul, 2) \ 60 V(Double_mul, 2) \
58 V(Double_div, 2) \ 61 V(Double_div, 2) \
59 V(Double_trunc_div, 2) \ 62 V(Double_trunc_div, 2) \
60 V(Double_remainder, 2) \ 63 V(Double_remainder, 2) \
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 static void DN_##name(Dart_NativeArguments args); 313 static void DN_##name(Dart_NativeArguments args);
311 314
312 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 315 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
313 316
314 #undef DECLARE_BOOTSTRAP_NATIVE 317 #undef DECLARE_BOOTSTRAP_NATIVE
315 }; 318 };
316 319
317 } // namespace dart 320 } // namespace dart
318 321
319 #endif // VM_BOOTSTRAP_NATIVES_H_ 322 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/vm/bigint_operations.cc ('k') | runtime/vm/intrinsifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698