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

Unified Diff: runtime/vm/raw_object_snapshot.cc

Issue 8442001: Simplify canonicalization of constants and types. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 2 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/vm/raw_object.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object_snapshot.cc
===================================================================
--- runtime/vm/raw_object_snapshot.cc (revision 1045)
+++ runtime/vm/raw_object_snapshot.cc (working copy)
@@ -39,8 +39,6 @@
// Set all non object fields.
cls.set_instance_size(reader->Read<intptr_t>());
cls.set_type_arguments_instance_field_offset(reader->Read<intptr_t>());
- cls.set_num_constants(reader->Read<intptr_t>());
- cls.set_num_canonical_types(reader->Read<intptr_t>());
cls.set_next_field_offset(reader->Read<intptr_t>());
cls.set_num_native_fields(reader->Read<intptr_t>());
cls.set_class_state(reader->Read<int8_t>());
@@ -83,8 +81,6 @@
writer->Write<ObjectKind>(ptr()->instance_kind_);
writer->Write<intptr_t>(ptr()->instance_size_);
writer->Write<intptr_t>(ptr()->type_arguments_instance_field_offset_);
- writer->Write<intptr_t>(ptr()->num_constants_);
- writer->Write<intptr_t>(ptr()->num_canonical_types_);
writer->Write<intptr_t>(ptr()->next_field_offset_);
writer->Write<intptr_t>(ptr()->num_native_fields_);
writer->Write<int8_t>(ptr()->class_state_);
« no previous file with comments | « runtime/vm/raw_object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698