Changeset 55833 in webkit for trunk/JavaScriptCore/bytecompiler
- Timestamp:
- Mar 10, 2010, 11:19:29 PM (15 years ago)
- Location:
- trunk/JavaScriptCore/bytecompiler
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
r54843 r55833 1943 1943 ASSERT(clause->length() == 1); 1944 1944 1945 int32_t key = clause-> data()[0];1945 int32_t key = clause->characters()[0]; 1946 1946 ASSERT(key >= min); 1947 1947 ASSERT(key <= max); -
trunk/JavaScriptCore/bytecompiler/NodesCodegen.cpp
r54789 r55833 1700 1700 const UString& value = static_cast<StringNode*>(clauseExpression)->value().ustring(); 1701 1701 if (singleCharacterSwitch &= value.size() == 1) { 1702 int32_t intVal = value.rep()-> data()[0];1702 int32_t intVal = value.rep()->characters()[0]; 1703 1703 if (intVal < min_num) 1704 1704 min_num = intVal;
Note:
See TracChangeset
for help on using the changeset viewer.