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

Unified Diff: runtime/vm/dart.cc

Issue 1835633002: Precompilation: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart.cc
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
index 340dfd57c930d95b9275048650a5cd4dec2a3fcb..d8367fe08b60df471165372de3d5484b4ad099d2 100644
--- a/runtime/vm/dart.cc
+++ b/runtime/vm/dart.cc
@@ -161,6 +161,8 @@ const char* Dart::InitOnce(const uint8_t* vm_isolate_snapshot,
StubCode::InitOnce();
}
if (vm_isolate_snapshot != NULL) {
+ NOT_IN_PRODUCT(TimelineDurationScope tds(Timeline::GetVMStream(),
+ "VMIsolateSnapshot"));
if (data_snapshot != NULL) {
vm_isolate_->SetupDataSnapshotPage(data_snapshot);
}
@@ -202,7 +204,11 @@ const char* Dart::InitOnce(const uint8_t* vm_isolate_snapshot,
return "SSE2 is required.";
}
#endif
- Object::FinalizeVMIsolate(vm_isolate_);
+ {
+ NOT_IN_PRODUCT(TimelineDurationScope tds(Timeline::GetVMStream(),
+ "FinalizeVMIsolate"));
+ Object::FinalizeVMIsolate(vm_isolate_);
+ }
#if defined(DEBUG)
vm_isolate_->heap()->Verify(kRequireMarked);
#endif
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698