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

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

Issue 842033005: Make Bigint instances immutable by removing all setters. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 10 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
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 V(SendPortImpl_get_hashcode, 1) \ 51 V(SendPortImpl_get_hashcode, 1) \
52 V(SendPortImpl_sendInternal_, 2) \ 52 V(SendPortImpl_sendInternal_, 2) \
53 V(Smi_shlFromInt, 2) \ 53 V(Smi_shlFromInt, 2) \
54 V(Smi_shrFromInt, 2) \ 54 V(Smi_shrFromInt, 2) \
55 V(Smi_bitNegate, 1) \ 55 V(Smi_bitNegate, 1) \
56 V(Smi_bitLength, 1) \ 56 V(Smi_bitLength, 1) \
57 V(Mint_bitNegate, 1) \ 57 V(Mint_bitNegate, 1) \
58 V(Mint_bitLength, 1) \ 58 V(Mint_bitLength, 1) \
59 V(Mint_shlFromInt, 2) \ 59 V(Mint_shlFromInt, 2) \
60 V(Bigint_getNeg, 1) \ 60 V(Bigint_getNeg, 1) \
61 V(Bigint_setNeg, 2) \
62 V(Bigint_getUsed, 1) \ 61 V(Bigint_getUsed, 1) \
63 V(Bigint_setUsed, 2) \
64 V(Bigint_getDigits, 1) \ 62 V(Bigint_getDigits, 1) \
65 V(Bigint_setDigits, 2) \ 63 V(Bigint_allocate, 4) \
66 V(Bigint_allocate, 1) \
67 V(Double_getIsNegative, 1) \ 64 V(Double_getIsNegative, 1) \
68 V(Double_getIsInfinite, 1) \ 65 V(Double_getIsInfinite, 1) \
69 V(Double_getIsNaN, 1) \ 66 V(Double_getIsNaN, 1) \
70 V(Double_add, 2) \ 67 V(Double_add, 2) \
71 V(Double_sub, 2) \ 68 V(Double_sub, 2) \
72 V(Double_mul, 2) \ 69 V(Double_mul, 2) \
73 V(Double_div, 2) \ 70 V(Double_div, 2) \
74 V(Double_trunc_div, 2) \ 71 V(Double_trunc_div, 2) \
75 V(Double_remainder, 2) \ 72 V(Double_remainder, 2) \
76 V(Double_modulo, 2) \ 73 V(Double_modulo, 2) \
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 static void DN_##name(Dart_NativeArguments args); 390 static void DN_##name(Dart_NativeArguments args);
394 391
395 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 392 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
396 393
397 #undef DECLARE_BOOTSTRAP_NATIVE 394 #undef DECLARE_BOOTSTRAP_NATIVE
398 }; 395 };
399 396
400 } // namespace dart 397 } // namespace dart
401 398
402 #endif // VM_BOOTSTRAP_NATIVES_H_ 399 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698