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

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

Issue 23129005: Remove int.pow and double.pow from VM library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed Math.pow to not use int.pow,double.pow. Created 7 years, 4 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/lib/math_patch.dart ('k') | no next file » | 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 V(Double_doubleFromInteger, 2) \ 66 V(Double_doubleFromInteger, 2) \
67 V(Double_round, 1) \ 67 V(Double_round, 1) \
68 V(Double_floor, 1) \ 68 V(Double_floor, 1) \
69 V(Double_ceil, 1) \ 69 V(Double_ceil, 1) \
70 V(Double_truncate, 1) \ 70 V(Double_truncate, 1) \
71 V(Double_toInt, 1) \ 71 V(Double_toInt, 1) \
72 V(Double_parse, 1) \ 72 V(Double_parse, 1) \
73 V(Double_toStringAsFixed, 2) \ 73 V(Double_toStringAsFixed, 2) \
74 V(Double_toStringAsExponential, 2) \ 74 V(Double_toStringAsExponential, 2) \
75 V(Double_toStringAsPrecision, 2) \ 75 V(Double_toStringAsPrecision, 2) \
76 V(Double_pow, 2) \
77 V(JSSyntaxRegExp_factory, 4) \ 76 V(JSSyntaxRegExp_factory, 4) \
78 V(JSSyntaxRegExp_getPattern, 1) \ 77 V(JSSyntaxRegExp_getPattern, 1) \
79 V(JSSyntaxRegExp_getIsMultiLine, 1) \ 78 V(JSSyntaxRegExp_getIsMultiLine, 1) \
80 V(JSSyntaxRegExp_getIsCaseSensitive, 1) \ 79 V(JSSyntaxRegExp_getIsCaseSensitive, 1) \
81 V(JSSyntaxRegExp_getGroupCount, 1) \ 80 V(JSSyntaxRegExp_getGroupCount, 1) \
82 V(JSSyntaxRegExp_ExecuteMatch, 3) \ 81 V(JSSyntaxRegExp_ExecuteMatch, 3) \
83 V(ObjectArray_allocate, 2) \ 82 V(ObjectArray_allocate, 2) \
84 V(ObjectArray_getIndexed, 2) \ 83 V(ObjectArray_getIndexed, 2) \
85 V(ObjectArray_setIndexed, 3) \ 84 V(ObjectArray_setIndexed, 3) \
86 V(ObjectArray_getLength, 1) \ 85 V(ObjectArray_getLength, 1) \
(...skipping 16 matching lines...) Expand all
103 V(Math_sqrt, 1) \ 102 V(Math_sqrt, 1) \
104 V(Math_sin, 1) \ 103 V(Math_sin, 1) \
105 V(Math_cos, 1) \ 104 V(Math_cos, 1) \
106 V(Math_tan, 1) \ 105 V(Math_tan, 1) \
107 V(Math_asin, 1) \ 106 V(Math_asin, 1) \
108 V(Math_acos, 1) \ 107 V(Math_acos, 1) \
109 V(Math_atan, 1) \ 108 V(Math_atan, 1) \
110 V(Math_atan2, 2) \ 109 V(Math_atan2, 2) \
111 V(Math_exp, 1) \ 110 V(Math_exp, 1) \
112 V(Math_log, 1) \ 111 V(Math_log, 1) \
112 V(Math_doublePow, 2) \
113 V(Random_nextState, 1) \ 113 V(Random_nextState, 1) \
114 V(Random_setupSeed, 2) \ 114 V(Random_setupSeed, 2) \
115 V(DateNatives_currentTimeMillis, 0) \ 115 V(DateNatives_currentTimeMillis, 0) \
116 V(DateNatives_timeZoneName, 1) \ 116 V(DateNatives_timeZoneName, 1) \
117 V(DateNatives_timeZoneOffsetInSeconds, 1) \ 117 V(DateNatives_timeZoneOffsetInSeconds, 1) \
118 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ 118 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \
119 V(AssertionError_throwNew, 2) \ 119 V(AssertionError_throwNew, 2) \
120 V(TypeError_throwNew, 5) \ 120 V(TypeError_throwNew, 5) \
121 V(FallThroughError_throwNew, 1) \ 121 V(FallThroughError_throwNew, 1) \
122 V(AbstractClassInstantiationError_throwNew, 2) \ 122 V(AbstractClassInstantiationError_throwNew, 2) \
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 static void DN_##name(Dart_NativeArguments args); 303 static void DN_##name(Dart_NativeArguments args);
304 304
305 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 305 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
306 306
307 #undef DECLARE_BOOTSTRAP_NATIVE 307 #undef DECLARE_BOOTSTRAP_NATIVE
308 }; 308 };
309 309
310 } // namespace dart 310 } // namespace dart
311 311
312 #endif // VM_BOOTSTRAP_NATIVES_H_ 312 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/math_patch.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698