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

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

Issue 1875733003: Disable string externalization by default. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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 | no next file » | 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 "lib/stacktrace.h" 10 #include "lib/stacktrace.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 53
54 DECLARE_FLAG(bool, print_class_table); 54 DECLARE_FLAG(bool, print_class_table);
55 DECLARE_FLAG(bool, verify_handles); 55 DECLARE_FLAG(bool, verify_handles);
56 #if defined(DART_NO_SNAPSHOT) 56 #if defined(DART_NO_SNAPSHOT)
57 DEFINE_FLAG(bool, check_function_fingerprints, true, 57 DEFINE_FLAG(bool, check_function_fingerprints, true,
58 "Check function fingerprints"); 58 "Check function fingerprints");
59 #endif // defined(DART_NO_SNAPSHOT). 59 #endif // defined(DART_NO_SNAPSHOT).
60 DEFINE_FLAG(bool, verify_acquired_data, false, 60 DEFINE_FLAG(bool, verify_acquired_data, false,
61 "Verify correct API acquire/release of typed data."); 61 "Verify correct API acquire/release of typed data.");
62 DEFINE_FLAG(bool, support_externalizable_strings, true, 62 DEFINE_FLAG(bool, support_externalizable_strings, false,
63 "Support Dart_MakeExternalString."); 63 "Support Dart_MakeExternalString.");
64 64
65 65
66 ThreadLocalKey Api::api_native_key_ = kUnsetThreadLocalKey; 66 ThreadLocalKey Api::api_native_key_ = kUnsetThreadLocalKey;
67 Dart_Handle Api::true_handle_ = NULL; 67 Dart_Handle Api::true_handle_ = NULL;
68 Dart_Handle Api::false_handle_ = NULL; 68 Dart_Handle Api::false_handle_ = NULL;
69 Dart_Handle Api::null_handle_ = NULL; 69 Dart_Handle Api::null_handle_ = NULL;
70 Dart_Handle Api::empty_string_handle_ = NULL; 70 Dart_Handle Api::empty_string_handle_ = NULL;
71 71
72 72
(...skipping 6047 matching lines...) Expand 10 before | Expand all | Expand 10 after
6120 return Api::Success(); 6120 return Api::Success();
6121 } 6121 }
6122 #endif // DART_PRECOMPILER 6122 #endif // DART_PRECOMPILER
6123 6123
6124 6124
6125 DART_EXPORT bool Dart_IsRunningPrecompiledCode() { 6125 DART_EXPORT bool Dart_IsRunningPrecompiledCode() {
6126 return Dart::IsRunningPrecompiledCode(); 6126 return Dart::IsRunningPrecompiledCode();
6127 } 6127 }
6128 6128
6129 } // namespace dart 6129 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698