From 1c332bfd2ebd00fd31ace80b51f29db6cc2794ed Mon Sep 17 00:00:00 2001 From: "verwaest@chromium.org" Date: Fri, 25 May 2012 13:21:20 +0000 Subject: [PATCH] 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 --- src/objects.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/objects.cc b/src/objects.cc index fd55f24..794234b 100644 --- a/src/objects.cc +++ b/src/objects.cc @@ -5277,9 +5277,8 @@ class TraversableMap : public Map { } else { DescriptorArray* descriptor_array = static_cast(object); - Object* map = - *HeapObject::RawField(descriptor_array, DescriptorArray::kMapOffset); - ASSERT(map->IsSmi()); + ASSERT(*HeapObject::RawField(descriptor_array, + DescriptorArray::kMapOffset)->IsSmi()); return descriptor_array; } } -- 2.7.4