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

Unified Diff: runtime/vm/snapshot.cc

Issue 10521004: Eliminate RawObject::class_ field entirely. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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.cc
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc
index f25609545cc54a6c0929e7bdb10355a9d36e0d3d..0374dbb84cbebf7aef11f80b2176018cbb86b38c 100644
--- a/runtime/vm/snapshot.cc
+++ b/runtime/vm/snapshot.cc
@@ -368,7 +368,6 @@ RawObject* SnapshotReader::AllocateUninitialized(const Class& cls,
UNREACHABLE();
}
RawObject* raw_obj = reinterpret_cast<RawObject*>(address + kHeapObjectTag);
- raw_obj->ptr()->class_ = cls.raw();
uword tags = 0;
intptr_t index = cls.id();
ASSERT(index != kIllegalObjectKind);

Powered by Google App Engine
This is Rietveld 408576698