Changeset 54789 in webkit for trunk/JavaScriptCore/bytecompiler
- Timestamp:
- Feb 15, 2010, 1:03:45 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecompiler/NodesCodegen.cpp
r52028 r54789 77 77 static void substitute(UString& string, const UString& substring) 78 78 { 79 intposition = string.find("%s");80 ASSERT(position != -1);79 unsigned position = string.find("%s"); 80 ASSERT(position != UString::NotFound); 81 81 string = makeString(string.substr(0, position), substring, string.substr(position + 2)); 82 82 }
Note:
See TracChangeset
for help on using the changeset viewer.