Fixing unused Map* in release build

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10442032

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11666 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
verwaest@chromium.org 2012-05-25 13:21:20 +00:00
parent fd579e3dc8
commit 1c332bfd2e

View File

@ -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;
}
}