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

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

Issue 2327693002: Add --parse-all option in order to benchmark and measure the scanner/parser performance. (Closed)
Patch Set: Address review comments. Created 4 years, 3 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
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "vm/thread_registry.h" 43 #include "vm/thread_registry.h"
44 #include "vm/timeline.h" 44 #include "vm/timeline.h"
45 #include "vm/timer.h" 45 #include "vm/timer.h"
46 #include "vm/unicode.h" 46 #include "vm/unicode.h"
47 #include "vm/uri.h" 47 #include "vm/uri.h"
48 #include "vm/verifier.h" 48 #include "vm/verifier.h"
49 #include "vm/version.h" 49 #include "vm/version.h"
50 50
51 namespace dart { 51 namespace dart {
52 52
53 // Facilitate quick access to the current zone once we have the curren thread. 53 // Facilitate quick access to the current zone once we have the current thread.
54 #define Z (T->zone()) 54 #define Z (T->zone())
55 55
56 56
57 DECLARE_FLAG(bool, print_class_table); 57 DECLARE_FLAG(bool, print_class_table);
58 DECLARE_FLAG(bool, verify_handles); 58 DECLARE_FLAG(bool, verify_handles);
59 #if defined(DART_NO_SNAPSHOT) 59 #if defined(DART_NO_SNAPSHOT)
60 DEFINE_FLAG(bool, check_function_fingerprints, true, 60 DEFINE_FLAG(bool, check_function_fingerprints, true,
61 "Check function fingerprints"); 61 "Check function fingerprints");
62 #endif // defined(DART_NO_SNAPSHOT). 62 #endif // defined(DART_NO_SNAPSHOT).
63 DEFINE_FLAG(bool, verify_acquired_data, false, 63 DEFINE_FLAG(bool, verify_acquired_data, false,
(...skipping 6557 matching lines...) Expand 10 before | Expand all | Expand 10 after
6621 6621
6622 DART_EXPORT bool Dart_IsPrecompiledRuntime() { 6622 DART_EXPORT bool Dart_IsPrecompiledRuntime() {
6623 #if defined(DART_PRECOMPILED_RUNTIME) 6623 #if defined(DART_PRECOMPILED_RUNTIME)
6624 return true; 6624 return true;
6625 #else 6625 #else
6626 return false; 6626 return false;
6627 #endif 6627 #endif
6628 } 6628 }
6629 6629
6630 } // namespace dart 6630 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698