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

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

Issue 1766833002: - Remove loading of observatory assets from dart_bootstrap. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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/bin/main.cc ('k') | 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 6078 matching lines...) Expand 10 before | Expand all | Expand 10 after
6089 ASSERT(stream != NULL); 6089 ASSERT(stream != NULL);
6090 TimelineEvent* event = stream->StartEvent(); 6090 TimelineEvent* event = stream->StartEvent();
6091 if (event != NULL) { 6091 if (event != NULL) {
6092 event->AsyncEnd(label, async_id); 6092 event->AsyncEnd(label, async_id);
6093 event->Complete(); 6093 event->Complete();
6094 } 6094 }
6095 return Api::Success(); 6095 return Api::Success();
6096 } 6096 }
6097 6097
6098 6098
6099 // The precompiler is included in dart_no_snapshot and dart_noopt, and 6099 // The precompiler is included in dart_bootstrap and dart_noopt, and
6100 // excluded from dart and dart_precompiled_runtime. 6100 // excluded from dart and dart_precompiled_runtime.
6101 #if !defined(DART_PRECOMPILER) 6101 #if !defined(DART_PRECOMPILER)
6102 6102
6103 DART_EXPORT Dart_Handle Dart_Precompile( 6103 DART_EXPORT Dart_Handle Dart_Precompile(
6104 Dart_QualifiedFunctionName entry_points[], 6104 Dart_QualifiedFunctionName entry_points[],
6105 bool reset_fields) { 6105 bool reset_fields) {
6106 UNREACHABLE(); 6106 UNREACHABLE();
6107 return 0; 6107 return 0;
6108 } 6108 }
6109 6109
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
6194 return Api::Success(); 6194 return Api::Success();
6195 } 6195 }
6196 #endif // DART_PRECOMPILER 6196 #endif // DART_PRECOMPILER
6197 6197
6198 6198
6199 DART_EXPORT bool Dart_IsRunningPrecompiledCode() { 6199 DART_EXPORT bool Dart_IsRunningPrecompiledCode() {
6200 return Dart::IsRunningPrecompiledCode(); 6200 return Dart::IsRunningPrecompiledCode();
6201 } 6201 }
6202 6202
6203 } // namespace dart 6203 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/bin/main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698