commit | a663ea5de4c9ab6b1510fdebd6d8eca77ba699ae | [log] [tgz] |
---|---|---|
author | Brian Carlstrom <bdc@google.com> | Fri Aug 19 23:33:41 2011 -0700 |
committer | Brian Carlstrom <bdc@google.com> | Sun Aug 21 12:30:48 2011 -0700 |
tree | 37078335c64cb760a0379a33eb4ceaf6b08356ea | |
parent | 68f4fa09cfd72b4292cbe7a213f03da7902ba775 [diff] [blame] |
Initialize ClassLinker from image Change-Id: Ibaf47b4181f7c6603a8b37e2eba8fa6509c927ed
diff --git a/src/space.cc b/src/space.cc index 8048f29..c636e38 100644 --- a/src/space.cc +++ b/src/space.cc
@@ -100,6 +100,9 @@ return false; } CHECK_EQ(image_header.GetBaseAddr(), map->GetAddress()); + image_header_ = reinterpret_cast<ImageHeader*>(map->GetAddress()); + DCHECK_EQ(0, memcmp(&image_header, image_header_, sizeof(ImageHeader))); + Init(map.release()); return true; }