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

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

Issue 10534111: Revert "Refactor Date implementation in VM." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « runtime/lib/date.dart ('k') | runtime/vm/os.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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 V(MathNatives_tan, 1) \ 85 V(MathNatives_tan, 1) \
86 V(MathNatives_asin, 1) \ 86 V(MathNatives_asin, 1) \
87 V(MathNatives_acos, 1) \ 87 V(MathNatives_acos, 1) \
88 V(MathNatives_atan, 1) \ 88 V(MathNatives_atan, 1) \
89 V(MathNatives_2atan, 2) \ 89 V(MathNatives_2atan, 2) \
90 V(MathNatives_exp, 1) \ 90 V(MathNatives_exp, 1) \
91 V(MathNatives_log, 1) \ 91 V(MathNatives_log, 1) \
92 V(MathNatives_random, 0) \ 92 V(MathNatives_random, 0) \
93 V(MathNatives_parseInt, 1) \ 93 V(MathNatives_parseInt, 1) \
94 V(MathNatives_parseDouble, 1) \ 94 V(MathNatives_parseDouble, 1) \
95 V(DateNatives_brokenDownToSecondsSinceEpoch, 7) \
95 V(DateNatives_currentTimeMillis, 0) \ 96 V(DateNatives_currentTimeMillis, 0) \
97 V(DateNatives_getYear, 2) \
98 V(DateNatives_getMonth, 2) \
99 V(DateNatives_getDay, 2) \
100 V(DateNatives_getHours, 2) \
101 V(DateNatives_getMinutes, 2) \
102 V(DateNatives_getSeconds, 2) \
96 V(DateNatives_timeZoneName, 1) \ 103 V(DateNatives_timeZoneName, 1) \
97 V(DateNatives_timeZoneOffsetInSeconds, 1) \ 104 V(DateNatives_timeZoneOffsetInSeconds, 1) \
98 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \
99 V(AssertionError_throwNew, 2) \ 105 V(AssertionError_throwNew, 2) \
100 V(TypeError_throwNew, 5) \ 106 V(TypeError_throwNew, 5) \
101 V(FallThroughError_throwNew, 1) \ 107 V(FallThroughError_throwNew, 1) \
102 V(StaticResolutionException_throwNew, 1) \ 108 V(StaticResolutionException_throwNew, 1) \
103 V(Clock_now, 0) \ 109 V(Clock_now, 0) \
104 V(Clock_frequency, 0) \ 110 V(Clock_frequency, 0) \
105 V(ByteArray_getLength, 1) \ 111 V(ByteArray_getLength, 1) \
106 V(ByteArray_getInt8, 2) \ 112 V(ByteArray_getInt8, 2) \
107 V(ByteArray_setInt8, 3) \ 113 V(ByteArray_setInt8, 3) \
108 V(ByteArray_getUint8, 2) \ 114 V(ByteArray_getUint8, 2) \
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 V(GrowableObjectArray_getLength, 1) \ 192 V(GrowableObjectArray_getLength, 1) \
187 V(GrowableObjectArray_getCapacity, 1) \ 193 V(GrowableObjectArray_getCapacity, 1) \
188 V(GrowableObjectArray_setLength, 2) \ 194 V(GrowableObjectArray_setLength, 2) \
189 V(GrowableObjectArray_setData, 2) \ 195 V(GrowableObjectArray_setData, 2) \
190 196
191 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) 197 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY)
192 198
193 } // namespace dart 199 } // namespace dart
194 200
195 #endif // VM_BOOTSTRAP_NATIVES_H_ 201 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/date.dart ('k') | runtime/vm/os.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698