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

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

Issue 11748016: Make ~/, round, ceil, floor, truncate return ints. Remove toInt. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Checked mode fixes. Created 7 years, 11 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 V(Double_modulo, 2) \ 50 V(Double_modulo, 2) \
51 V(Double_greaterThanFromInteger, 2) \ 51 V(Double_greaterThanFromInteger, 2) \
52 V(Double_equalToInteger, 2) \ 52 V(Double_equalToInteger, 2) \
53 V(Double_greaterThan, 2) \ 53 V(Double_greaterThan, 2) \
54 V(Double_equal, 2) \ 54 V(Double_equal, 2) \
55 V(Double_doubleFromInteger, 2) \ 55 V(Double_doubleFromInteger, 2) \
56 V(Double_round, 1) \ 56 V(Double_round, 1) \
57 V(Double_floor, 1) \ 57 V(Double_floor, 1) \
58 V(Double_ceil, 1) \ 58 V(Double_ceil, 1) \
59 V(Double_truncate, 1) \ 59 V(Double_truncate, 1) \
60 V(Double_toInt, 1) \
61 V(Double_parse, 1) \ 60 V(Double_parse, 1) \
62 V(Double_toStringAsFixed, 2) \ 61 V(Double_toStringAsFixed, 2) \
63 V(Double_toStringAsExponential, 2) \ 62 V(Double_toStringAsExponential, 2) \
64 V(Double_toStringAsPrecision, 2) \ 63 V(Double_toStringAsPrecision, 2) \
65 V(Double_pow, 2) \ 64 V(Double_pow, 2) \
66 V(JSSyntaxRegExp_factory, 4) \ 65 V(JSSyntaxRegExp_factory, 4) \
67 V(JSSyntaxRegExp_getPattern, 1) \ 66 V(JSSyntaxRegExp_getPattern, 1) \
68 V(JSSyntaxRegExp_getIsMultiLine, 1) \ 67 V(JSSyntaxRegExp_getIsMultiLine, 1) \
69 V(JSSyntaxRegExp_getIsCaseSensitive, 1) \ 68 V(JSSyntaxRegExp_getIsCaseSensitive, 1) \
70 V(JSSyntaxRegExp_getGroupCount, 1) \ 69 V(JSSyntaxRegExp_getGroupCount, 1) \
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 static void DN_##name(Dart_NativeArguments args); 223 static void DN_##name(Dart_NativeArguments args);
225 224
226 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 225 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
227 226
228 #undef DECLARE_BOOTSTRAP_NATIVE 227 #undef DECLARE_BOOTSTRAP_NATIVE
229 }; 228 };
230 229
231 } // namespace dart 230 } // namespace dart
232 231
233 #endif // VM_BOOTSTRAP_NATIVES_H_ 232 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698