Fix lint issue.
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 22 Jun 2009 15:19:47 +0000 (15:19 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 22 Jun 2009 15:19:47 +0000 (15:19 +0000)
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

src/heap.h

index 75bd7fc..9c19ec8 100644 (file)
@@ -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;