Reviewers: Søren Gjesse, Description: Lint...
Please review this at http://codereview.chromium.org/42276 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/objects.cc M src/runtime.cc Index: src/objects.cc =================================================================== --- src/objects.cc (revision 1521) +++ src/objects.cc (working copy) @@ -4190,7 +4190,8 @@ if (Hash() != other->Hash()) return false; } - if (StringShape(this).IsSequentialAscii() && StringShape(other).IsSequentialAscii()) { + if (StringShape(this).IsSequentialAscii() && + StringShape(other).IsSequentialAscii()) { const char* str1 = SeqAsciiString::cast(this)->GetChars(); const char* str2 = SeqAsciiString::cast(other)->GetChars(); return CompareRawStringContents(Vector<const char>(str1, len), Index: src/runtime.cc =================================================================== --- src/runtime.cc (revision 1521) +++ src/runtime.cc (working copy) @@ -3084,7 +3084,7 @@ unibrow::uchar chars[Converter::kMaxWidth]; // We can assume that the string is not empty uc32 current = buffer->GetNext(); - for (int i = 0; i < length; ) { + for (int i = 0; i < length;) { bool has_next = buffer->has_more(); uc32 next = has_next ? buffer->GetNext() : 0; int char_length = mapping->get(current, next, chars); --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
