From d7e876decc00c611d327185bf890a7efecb2cf7e Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Mon, 29 Aug 2011 13:26:13 +0200 Subject: [PATCH 14/16] Fix build error: "suggest parentheses around '&&' within '||'" --- src/mark-compact.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mark-compact.cc b/src/mark-compact.cc index 1b1e361..775f787 100644 --- a/src/mark-compact.cc +++ b/src/mark-compact.cc @@ -1020,7 +1020,7 @@ class SymbolTableCleaner : public ObjectVisitor { // Since no objects have yet been moved we can safely access the map of // the object. if ((*p)->IsExternalString() || - (*p)->IsHeapObject() && HeapObject::cast(*p)->map()->has_external_resource()) { + ((*p)->IsHeapObject() && HeapObject::cast(*p)->map()->has_external_resource())) { heap_->FinalizeExternalString(HeapObject::cast(*p)); } // Set the entry to null_value (as deleted). -- 1.7.6