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

Unified Diff: runtime/vm/raw_object.cc

Issue 23691008: Compress memory usage. Imprive speed of finding exception handlers: if a code does not have any han… (Closed) Base URL: http://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/raw_object.cc
===================================================================
--- runtime/vm/raw_object.cc (revision 26819)
+++ runtime/vm/raw_object.cc (working copy)
@@ -429,7 +429,7 @@
RawCode* obj = raw_obj->ptr();
intptr_t length = obj->pointer_offsets_length_;
- if (obj->is_alive_ == 1) {
+ if (Code::AliveBit::decode(obj->state_bits_)) {
// Also visit all the embedded pointers in the corresponding instructions.
uword entry_point = reinterpret_cast<uword>(obj->instructions_->ptr()) +
Instructions::HeaderSize();

Powered by Google App Engine
This is Rietveld 408576698