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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 2902313004: CoreJIT snapshots without training. (Closed)
Patch Set: . Created 3 years, 7 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
Index: runtime/vm/snapshot_test.cc
diff --git a/runtime/vm/snapshot_test.cc b/runtime/vm/snapshot_test.cc
index 41953ecee96db15980da18dc1804dd51070268e1..510e1eb5d7084bf8ca26fedca1ed149fdbcc469d 100644
--- a/runtime/vm/snapshot_test.cc
+++ b/runtime/vm/snapshot_test.cc
@@ -1194,7 +1194,7 @@ VM_UNIT_TEST_CASE(FullSnapshot) {
// Write snapshot with object content.
{
FullSnapshotWriter writer(
- Snapshot::kCore, NULL, &isolate_snapshot_data_buffer,
+ Snapshot::kFull, NULL, &isolate_snapshot_data_buffer,
&malloc_allocator, NULL, NULL /* image_writer */);
writer.WriteFullSnapshot();
}
@@ -1251,7 +1251,7 @@ VM_UNIT_TEST_CASE(FullSnapshot1) {
// Write snapshot with object content.
{
FullSnapshotWriter writer(
- Snapshot::kCore, NULL, &isolate_snapshot_data_buffer,
+ Snapshot::kFull, NULL, &isolate_snapshot_data_buffer,
&malloc_allocator, NULL, NULL /* image_writer */);
writer.WriteFullSnapshot();
}
@@ -1675,7 +1675,7 @@ VM_UNIT_TEST_CASE(MismatchedSnapshotKinds) {
EXPECT(error != NULL);
EXPECT_SUBSTRING(
"Incompatible snapshot kinds:"
- " vm 'core', isolate 'script'",
+ " vm 'full', isolate 'script'",
error);
free(error);
}
« runtime/include/dart_api.h ('K') | « runtime/vm/snapshot.cc ('k') | tools/gn.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698