Reviewers: , Description: Fix lint issue.
[email protected] Please review this at http://codereview.chromium.org/140066 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/heap.h Index: src/heap.h =================================================================== --- src/heap.h (revision 2240) +++ src/heap.h (working copy) @@ -1168,7 +1168,7 @@ // 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 @@ // 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; --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
