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

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

Issue 9316100: Fix for issue 1307: throw runtime exception instead of reporting a compile time error if a static... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 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
« no previous file with comments | « runtime/lib/error.dart ('k') | runtime/vm/parser.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 V(DateNatives_currentTimeMillis, 0) \ 95 V(DateNatives_currentTimeMillis, 0) \
96 V(DateNatives_getYear, 2) \ 96 V(DateNatives_getYear, 2) \
97 V(DateNatives_getMonth, 2) \ 97 V(DateNatives_getMonth, 2) \
98 V(DateNatives_getDay, 2) \ 98 V(DateNatives_getDay, 2) \
99 V(DateNatives_getHours, 2) \ 99 V(DateNatives_getHours, 2) \
100 V(DateNatives_getMinutes, 2) \ 100 V(DateNatives_getMinutes, 2) \
101 V(DateNatives_getSeconds, 2) \ 101 V(DateNatives_getSeconds, 2) \
102 V(AssertionError_throwNew, 2) \ 102 V(AssertionError_throwNew, 2) \
103 V(TypeError_throwNew, 4) \ 103 V(TypeError_throwNew, 4) \
104 V(FallThroughError_throwNew, 1) \ 104 V(FallThroughError_throwNew, 1) \
105 V(StaticResolutionException_throwNew, 1) \
105 V(Clock_now, 0) \ 106 V(Clock_now, 0) \
106 V(Clock_frequency, 0) \ 107 V(Clock_frequency, 0) \
107 V(ByteArray_getLength, 1) \ 108 V(ByteArray_getLength, 1) \
108 V(ByteArray_setRange, 5) \ 109 V(ByteArray_setRange, 5) \
109 V(InternalByteArray_allocate, 1) \ 110 V(InternalByteArray_allocate, 1) \
110 V(InternalByteArray_getInt8, 2) \ 111 V(InternalByteArray_getInt8, 2) \
111 V(InternalByteArray_setInt8, 3) \ 112 V(InternalByteArray_setInt8, 3) \
112 V(InternalByteArray_getUint8, 2) \ 113 V(InternalByteArray_getUint8, 2) \
113 V(InternalByteArray_setUint8, 3) \ 114 V(InternalByteArray_setUint8, 3) \
114 V(InternalByteArray_getInt16, 2) \ 115 V(InternalByteArray_getInt16, 2) \
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 V(ExternalByteArray_setFloat32, 3) \ 148 V(ExternalByteArray_setFloat32, 3) \
148 V(ExternalByteArray_getFloat64, 2) \ 149 V(ExternalByteArray_getFloat64, 2) \
149 V(ExternalByteArray_setFloat64, 3) \ 150 V(ExternalByteArray_setFloat64, 3) \
150 151
151 152
152 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) 153 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY)
153 154
154 } // namespace dart 155 } // namespace dart
155 156
156 #endif // VM_BOOTSTRAP_NATIVES_H_ 157 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/error.dart ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698