Reviewers: Michael Starzinger,

Message:
Please doublecheck my fix. Compiles both release and debug now.

Description:
Fixing debug build, missing parentheses


BUG=
TEST=


Please review this at https://chromiumcodereview.appspot.com/10450038/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/objects.cc


Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 794234be5035b74efd3fcef9980d7eec8db4c064..eb6636a7a040ab04bd68f5eff0ea66eb41571f9e 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -5277,8 +5277,8 @@ class TraversableMap : public Map {
     } else {
       DescriptorArray* descriptor_array =
           static_cast<DescriptorArray*>(object);
-      ASSERT(*HeapObject::RawField(descriptor_array,
-                                   DescriptorArray::kMapOffset)->IsSmi());
+      ASSERT((*HeapObject::RawField(descriptor_array,
+                                   DescriptorArray::kMapOffset))->IsSmi());
       return descriptor_array;
     }
   }


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to