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

Unified Diff: src/objects.cc

Issue 10442032: Fixing unused Map* in release build (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index fd55f24979bcf78dc944e33f09635ca93e1855d8..794234be5035b74efd3fcef9980d7eec8db4c064 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -5277,9 +5277,8 @@ class TraversableMap : public Map {
} else {
DescriptorArray* descriptor_array =
static_cast<DescriptorArray*>(object);
- Object* map =
- *HeapObject::RawField(descriptor_array, DescriptorArray::kMapOffset);
- ASSERT(map->IsSmi());
+ ASSERT(*HeapObject::RawField(descriptor_array,
+ DescriptorArray::kMapOffset)->IsSmi());
return descriptor_array;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698