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

Unified Diff: runtime/vm/snapshot_test.cc

Issue 22638011: Move Null class out of the VM isolate. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 f3d8e43ff8251cd8f761e9985ba18119703fc2ed..c1781d236126af84f685dd3f1aac78fc5940b9f0 100644
--- a/runtime/vm/snapshot_test.cc
+++ b/runtime/vm/snapshot_test.cc
@@ -460,7 +460,6 @@ TEST_CASE(SerializeSingletons) {
uint8_t* buffer;
MessageWriter writer(&buffer, &malloc_allocator);
writer.WriteObject(Object::class_class());
- writer.WriteObject(Object::null_class());
writer.WriteObject(Object::type_arguments_class());
writer.WriteObject(Object::instantiated_type_arguments_class());
writer.WriteObject(Object::function_class());
@@ -480,7 +479,6 @@ TEST_CASE(SerializeSingletons) {
SnapshotReader reader(buffer, buffer_len, Snapshot::kMessage,
Isolate::Current());
EXPECT(Object::class_class() == reader.ReadObject());
- EXPECT(Object::null_class() == reader.ReadObject());
EXPECT(Object::type_arguments_class() == reader.ReadObject());
EXPECT(Object::instantiated_type_arguments_class() == reader.ReadObject());
EXPECT(Object::function_class() == reader.ReadObject());
« runtime/vm/object.cc ('K') | « runtime/vm/snapshot.cc ('k') | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698