Changeset 36660 in webkit for trunk/JavaScriptCore/kjs/nodes.cpp
- Timestamp:
- Sep 18, 2008, 11:32:12 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/nodes.cpp
r36604 r36660 254 254 if (dst == ignoredResult()) 255 255 return 0; 256 257 // We atomize constant strings, in case they're later used in property lookup. 258 return generator.emitLoad(dst, jsOwnedString(generator.globalExec(), Identifier(generator.globalExec(), m_value).ustring())); 256 return generator.emitLoad(dst, jsOwnedString(generator.globalExec(), m_value.ustring())); 259 257 } 260 258 … … 1495 1493 break; 1496 1494 } 1497 UString& value = static_cast<StringNode*>(clauseExpression)->value();1495 const UString& value = static_cast<StringNode*>(clauseExpression)->value().ustring(); 1498 1496 if (singleCharacterSwitch &= value.size() == 1) { 1499 1497 int32_t intVal = value.rep()->data()[0];
Note:
See TracChangeset
for help on using the changeset viewer.