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

Side by Side Diff: runtime/vm/dart_api_impl.cc

Issue 1166813002: --check_function_fingerprints is available only in dart_no_snapshot, i.e., it was not tested. Make … (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | tests/language/bootstrap_test.dart » ('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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 #include "include/dart_api.h" 5 #include "include/dart_api.h"
6 #include "include/dart_mirrors_api.h" 6 #include "include/dart_mirrors_api.h"
7 #include "include/dart_native_api.h" 7 #include "include/dart_native_api.h"
8 8
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "vm/class_finalizer.h" 10 #include "vm/class_finalizer.h"
(...skipping 29 matching lines...) Expand all
40 #include "vm/unicode.h" 40 #include "vm/unicode.h"
41 #include "vm/verifier.h" 41 #include "vm/verifier.h"
42 #include "vm/version.h" 42 #include "vm/version.h"
43 43
44 namespace dart { 44 namespace dart {
45 45
46 DECLARE_FLAG(bool, load_deferred_eagerly); 46 DECLARE_FLAG(bool, load_deferred_eagerly);
47 DECLARE_FLAG(bool, print_class_table); 47 DECLARE_FLAG(bool, print_class_table);
48 DECLARE_FLAG(bool, verify_handles); 48 DECLARE_FLAG(bool, verify_handles);
49 #if defined(DART_NO_SNAPSHOT) 49 #if defined(DART_NO_SNAPSHOT)
50 DEFINE_FLAG(bool, check_function_fingerprints, false, 50 DEFINE_FLAG(bool, check_function_fingerprints, true,
51 "Check function fingerprints"); 51 "Check function fingerprints");
52 #endif // defined(DART_NO_SNAPSHOT). 52 #endif // defined(DART_NO_SNAPSHOT).
53 DEFINE_FLAG(bool, trace_api, false, 53 DEFINE_FLAG(bool, trace_api, false,
54 "Trace invocation of API calls (debug mode only)"); 54 "Trace invocation of API calls (debug mode only)");
55 DEFINE_FLAG(bool, verify_acquired_data, false, 55 DEFINE_FLAG(bool, verify_acquired_data, false,
56 "Verify correct API acquire/release of typed data."); 56 "Verify correct API acquire/release of typed data.");
57 57
58 ThreadLocalKey Api::api_native_key_ = OSThread::kUnsetThreadLocalKey; 58 ThreadLocalKey Api::api_native_key_ = OSThread::kUnsetThreadLocalKey;
59 Dart_Handle Api::true_handle_ = NULL; 59 Dart_Handle Api::true_handle_ = NULL;
60 Dart_Handle Api::false_handle_ = NULL; 60 Dart_Handle Api::false_handle_ = NULL;
(...skipping 5520 matching lines...) Expand 10 before | Expand all | Expand 10 after
5581 5581
5582 5582
5583 DART_EXPORT void Dart_RegisterRootServiceRequestCallback( 5583 DART_EXPORT void Dart_RegisterRootServiceRequestCallback(
5584 const char* name, 5584 const char* name,
5585 Dart_ServiceRequestCallback callback, 5585 Dart_ServiceRequestCallback callback,
5586 void* user_data) { 5586 void* user_data) {
5587 Service::RegisterRootEmbedderCallback(name, callback, user_data); 5587 Service::RegisterRootEmbedderCallback(name, callback, user_data);
5588 } 5588 }
5589 5589
5590 } // namespace dart 5590 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | tests/language/bootstrap_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698