From: ager@chromium.org Date: Mon, 22 Jun 2009 15:19:47 +0000 (+0000) Subject: Fix lint issue. X-Git-Tag: upstream/4.7.83~23842 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b3c9af918f7614b52986d6b85b7981d2a7c8641;p=platform%2Fupstream%2Fv8.git Fix lint issue. TBR=bak@chromium.org Review URL: http://codereview.chromium.org/140066 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2242 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/heap.h b/src/heap.h index 75bd7fc..9c19ec8 100644 --- a/src/heap.h +++ b/src/heap.h @@ -1168,7 +1168,7 @@ class DescriptorLookupCache { // Lookup descriptor index for (map, name). // If absent, kAbsent is returned. static int Lookup(DescriptorArray* array, String* name) { - if(!StringShape(name).IsSymbol()) return kAbsent; + if (!StringShape(name).IsSymbol()) return kAbsent; int index = Hash(array, name); Key& key = keys_[index]; if ((key.array == array) && (key.name == name)) return results_[index]; @@ -1178,7 +1178,7 @@ class DescriptorLookupCache { // Update an element in the cache. static void Update(DescriptorArray* array, String* name, int result) { ASSERT(result != kAbsent); - if(StringShape(name).IsSymbol()) { + if (StringShape(name).IsSymbol()) { int index = Hash(array, name); Key& key = keys_[index]; key.array = array;