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

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

Issue 1913663002: vm: Generate 'and' instruction for Smi values. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: xxx Created 4 years, 6 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
« no previous file with comments | « runtime/lib/integers.dart ('k') | runtime/vm/intrinsifier_arm.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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 V(CapabilityImpl_factory, 1) \ 49 V(CapabilityImpl_factory, 1) \
50 V(CapabilityImpl_equals, 2) \ 50 V(CapabilityImpl_equals, 2) \
51 V(CapabilityImpl_get_hashcode, 1) \ 51 V(CapabilityImpl_get_hashcode, 1) \
52 V(RawReceivePortImpl_factory, 1) \ 52 V(RawReceivePortImpl_factory, 1) \
53 V(RawReceivePortImpl_get_id, 1) \ 53 V(RawReceivePortImpl_get_id, 1) \
54 V(RawReceivePortImpl_get_sendport, 1) \ 54 V(RawReceivePortImpl_get_sendport, 1) \
55 V(RawReceivePortImpl_closeInternal, 1) \ 55 V(RawReceivePortImpl_closeInternal, 1) \
56 V(SendPortImpl_get_id, 1) \ 56 V(SendPortImpl_get_id, 1) \
57 V(SendPortImpl_get_hashcode, 1) \ 57 V(SendPortImpl_get_hashcode, 1) \
58 V(SendPortImpl_sendInternal_, 2) \ 58 V(SendPortImpl_sendInternal_, 2) \
59 V(Smi_bitAndFromSmi, 2) \
59 V(Smi_shlFromInt, 2) \ 60 V(Smi_shlFromInt, 2) \
60 V(Smi_shrFromInt, 2) \ 61 V(Smi_shrFromInt, 2) \
61 V(Smi_bitNegate, 1) \ 62 V(Smi_bitNegate, 1) \
62 V(Smi_bitLength, 1) \ 63 V(Smi_bitLength, 1) \
63 V(Mint_bitNegate, 1) \ 64 V(Mint_bitNegate, 1) \
64 V(Mint_bitLength, 1) \ 65 V(Mint_bitLength, 1) \
65 V(Mint_shlFromInt, 2) \ 66 V(Mint_shlFromInt, 2) \
66 V(Bigint_getNeg, 1) \ 67 V(Bigint_getNeg, 1) \
67 V(Bigint_getUsed, 1) \ 68 V(Bigint_getUsed, 1) \
68 V(Bigint_getDigits, 1) \ 69 V(Bigint_getDigits, 1) \
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 #ifndef PRODUCT 433 #ifndef PRODUCT
433 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 434 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
434 #endif 435 #endif
435 436
436 #undef DECLARE_BOOTSTRAP_NATIVE 437 #undef DECLARE_BOOTSTRAP_NATIVE
437 }; 438 };
438 439
439 } // namespace dart 440 } // namespace dart
440 441
441 #endif // VM_BOOTSTRAP_NATIVES_H_ 442 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/integers.dart ('k') | runtime/vm/intrinsifier_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698