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

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

Issue 2644163002: More ifdefs to make everything build at -O0 and without --gc-sections. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/vm/bootstrap_natives.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) 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 RUNTIME_VM_BOOTSTRAP_NATIVES_H_ 5 #ifndef RUNTIME_VM_BOOTSTRAP_NATIVES_H_
6 #define RUNTIME_VM_BOOTSTRAP_NATIVES_H_ 6 #define RUNTIME_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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 static Dart_NativeFunction Lookup(Dart_Handle name, 419 static Dart_NativeFunction Lookup(Dart_Handle name,
420 int argument_count, 420 int argument_count,
421 bool* auto_setup_scope); 421 bool* auto_setup_scope);
422 422
423 static const uint8_t* Symbol(Dart_NativeFunction* nf); 423 static const uint8_t* Symbol(Dart_NativeFunction* nf);
424 424
425 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \ 425 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \
426 static void DN_##name(Dart_NativeArguments args); 426 static void DN_##name(Dart_NativeArguments args);
427 427
428 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 428 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
429 #ifndef PRODUCT 429 #if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
430 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 430 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
431 #endif 431 #endif
432 432
433 #undef DECLARE_BOOTSTRAP_NATIVE 433 #undef DECLARE_BOOTSTRAP_NATIVE
434 }; 434 };
435 435
436 } // namespace dart 436 } // namespace dart
437 437
438 #endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_ 438 #endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | runtime/vm/bootstrap_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698