Changeset 173120 in webkit for trunk/Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp
- Timestamp:
- Aug 29, 2014, 2:33:30 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp
r172820 r173120 892 892 893 893 return emitThrowReferenceError(generator, m_operator == OpPlusPlus 894 ? "Postfix ++ operator applied to value that is not a reference."895 : "Postfix -- operator applied to value that is not a reference.");894 ? ASCIILiteral("Postfix ++ operator applied to value that is not a reference.") 895 : ASCIILiteral("Postfix -- operator applied to value that is not a reference.")); 896 896 } 897 897 … … 1075 1075 1076 1076 return emitThrowReferenceError(generator, m_operator == OpPlusPlus 1077 ? "Prefix ++ operator applied to value that is not a reference."1078 : "Prefix -- operator applied to value that is not a reference.");1077 ? ASCIILiteral("Prefix ++ operator applied to value that is not a reference.") 1078 : ASCIILiteral("Prefix -- operator applied to value that is not a reference.")); 1079 1079 } 1080 1080 … … 1614 1614 RegisterID* AssignErrorNode::emitBytecode(BytecodeGenerator& generator, RegisterID*) 1615 1615 { 1616 return emitThrowReferenceError(generator, "Left side of assignment is not a reference.");1616 return emitThrowReferenceError(generator, ASCIILiteral("Left side of assignment is not a reference.")); 1617 1617 } 1618 1618 … … 2036 2036 { 2037 2037 if (!m_lexpr->isAssignmentLocation()) { 2038 emitThrowReferenceError(generator, "Left side of for-in statement is not a reference.");2038 emitThrowReferenceError(generator, ASCIILiteral("Left side of for-in statement is not a reference.")); 2039 2039 return; 2040 2040 } … … 2168 2168 { 2169 2169 if (!m_lexpr->isAssignmentLocation()) { 2170 emitThrowReferenceError(generator, "Left side of for-of statement is not a reference.");2170 emitThrowReferenceError(generator, ASCIILiteral("Left side of for-of statement is not a reference.")); 2171 2171 return; 2172 2172 } … … 2785 2785 } else 2786 2786 builder.append(m_targetPatterns[i].propertyName.string()); 2787 builder.append( ":");2787 builder.append(':'); 2788 2788 m_targetPatterns[i].pattern->toString(builder); 2789 2789 if (i < m_targetPatterns.size() - 1)
Note:
See TracChangeset
for help on using the changeset viewer.