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

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

Issue 22455003: Make FunctionTypeMirror and ClosureMirror handle user-defined classes that implement the call opera… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: call is no longer an operator 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
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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 V(ClassMirror_invokeGetter, 3) \ 261 V(ClassMirror_invokeGetter, 3) \
262 V(ClassMirror_invokeSetter, 4) \ 262 V(ClassMirror_invokeSetter, 4) \
263 V(ClassMirror_invokeConstructor, 3) \ 263 V(ClassMirror_invokeConstructor, 3) \
264 V(ClassMirror_type_variables, 1) \ 264 V(ClassMirror_type_variables, 1) \
265 V(LibraryMirror_invoke, 4) \ 265 V(LibraryMirror_invoke, 4) \
266 V(LibraryMirror_invokeGetter, 3) \ 266 V(LibraryMirror_invokeGetter, 3) \
267 V(LibraryMirror_invokeSetter, 4) \ 267 V(LibraryMirror_invokeSetter, 4) \
268 V(LocalTypeVariableMirror_owner, 1) \ 268 V(LocalTypeVariableMirror_owner, 1) \
269 V(LocalTypeVariableMirror_upper_bound, 1) \ 269 V(LocalTypeVariableMirror_upper_bound, 1) \
270 V(DeclarationMirror_metadata, 1) \ 270 V(DeclarationMirror_metadata, 1) \
271 V(FunctionTypeMirror_call_method, 2) \
271 V(FunctionTypeMirror_parameters, 1) \ 272 V(FunctionTypeMirror_parameters, 1) \
272 V(FunctionTypeMirror_return_type, 1) \ 273 V(FunctionTypeMirror_return_type, 1) \
273 V(MethodMirror_owner, 1) \ 274 V(MethodMirror_owner, 1) \
274 V(MethodMirror_parameters, 1) \ 275 V(MethodMirror_parameters, 1) \
275 V(MethodMirror_return_type, 1) \ 276 V(MethodMirror_return_type, 1) \
276 V(ParameterMirror_type, 2) \ 277 V(ParameterMirror_type, 2) \
277 V(TypedefMirror_referent, 1) \ 278 V(TypedefMirror_referent, 1) \
278 V(VariableMirror_type, 1) \ 279 V(VariableMirror_type, 1) \
279 V(GrowableObjectArray_allocate, 2) \ 280 V(GrowableObjectArray_allocate, 2) \
280 V(GrowableObjectArray_getIndexed, 2) \ 281 V(GrowableObjectArray_getIndexed, 2) \
(...skipping 15 matching lines...) Expand all
296 static void DN_##name(Dart_NativeArguments args); 297 static void DN_##name(Dart_NativeArguments args);
297 298
298 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 299 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
299 300
300 #undef DECLARE_BOOTSTRAP_NATIVE 301 #undef DECLARE_BOOTSTRAP_NATIVE
301 }; 302 };
302 303
303 } // namespace dart 304 } // namespace dart
304 305
305 #endif // VM_BOOTSTRAP_NATIVES_H_ 306 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698