Author: [email protected]
Date: Tue Mar 17 03:46:53 2009
New Revision: 1522
Modified:
branches/bleeding_edge/src/objects.cc
branches/bleeding_edge/src/runtime.cc
Log:
Lint...
Review URL: http://codereview.chromium.org/42276
Modified: branches/bleeding_edge/src/objects.cc
==============================================================================
--- branches/bleeding_edge/src/objects.cc (original)
+++ branches/bleeding_edge/src/objects.cc Tue Mar 17 03:46:53 2009
@@ -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),
Modified: branches/bleeding_edge/src/runtime.cc
==============================================================================
--- branches/bleeding_edge/src/runtime.cc (original)
+++ branches/bleeding_edge/src/runtime.cc Tue Mar 17 03:46:53 2009
@@ -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
-~----------~----~----~----~------~----~------~--~---