Changeset 54789 in webkit for trunk/JavaScriptCore/runtime/Identifier.cpp
- Timestamp:
- Feb 15, 2010, 1:03:45 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Identifier.cpp
r54510 r54789 88 88 } 89 89 90 bool Identifier::equal(const UString::Rep* r, const UChar* s, intlength)90 bool Identifier::equal(const UString::Rep* r, const UChar* s, unsigned length) 91 91 { 92 92 if (r->size() != length) 93 93 return false; 94 94 const UChar* d = r->data(); 95 for ( inti = 0; i != length; ++i)95 for (unsigned i = 0; i != length; ++i) 96 96 if (d[i] != s[i]) 97 97 return false;
Note:
See TracChangeset
for help on using the changeset viewer.