Index: src/mips/code-stubs-mips.cc |
=================================================================== |
--- src/mips/code-stubs-mips.cc (revision 10403) |
+++ src/mips/code-stubs-mips.cc (working copy) |
@@ -4061,7 +4061,7 @@ |
// Registers: |
// a0: entry address |
// a1: function |
- // a2: reveiver |
+ // a2: receiver |
// a3: argc |
// |
// Stack: |
@@ -4103,7 +4103,7 @@ |
// Registers: |
// a0: entry_address |
// a1: function |
- // a2: reveiver_pointer |
+ // a2: receiver_pointer |
// a3: argc |
// s0: argv |
// |
@@ -4170,7 +4170,7 @@ |
// Registers: |
// a0: entry_address |
// a1: function |
- // a2: reveiver_pointer |
+ // a2: receiver_pointer |
// a3: argc |
// s0: argv |
// |
@@ -5006,9 +5006,9 @@ |
STATIC_ASSERT(kAsciiStringTag == 4); |
STATIC_ASSERT(kTwoByteStringTag == 0); |
// Find the code object based on the assumptions above. |
- __ And(a0, a0, Operand(kStringEncodingMask)); // Non-zero for ascii. |
+ __ And(a0, a0, Operand(kStringEncodingMask)); // Non-zero for ASCII. |
__ lw(t9, FieldMemOperand(regexp_data, JSRegExp::kDataAsciiCodeOffset)); |
- __ sra(a3, a0, 2); // a3 is 1 for ascii, 0 for UC16 (usyed below). |
+ __ sra(a3, a0, 2); // a3 is 1 for ASCII, 0 for UC16 (used below). |
__ lw(t1, FieldMemOperand(regexp_data, JSRegExp::kDataUC16CodeOffset)); |
__ movz(t9, t1, a0); // If UC16 (a0 is 0), replace t9 w/kDataUC16CodeOffset. |
@@ -6033,7 +6033,7 @@ |
Label result_longer_than_two; |
- // Check for special case of two character ascii string, in which case |
+ // Check for special case of two character ASCII string, in which case |
// we do a lookup in the symbol table first. |
__ li(t0, 2); |
__ Branch(&result_longer_than_two, gt, a2, Operand(t0)); |
@@ -6164,7 +6164,7 @@ |
__ And(t0, a1, Operand(kStringEncodingMask)); |
__ Branch(&two_byte_sequential, eq, t0, Operand(zero_reg)); |
- // Allocate and copy the resulting ascii string. |
+ // Allocate and copy the resulting ASCII string. |
__ AllocateAsciiString(v0, a2, t0, t2, t3, &runtime); |
// Locate first character of substring to copy. |
@@ -6508,7 +6508,7 @@ |
} |
Label non_ascii, allocated, ascii_data; |
STATIC_ASSERT(kTwoByteStringTag == 0); |
- // Branch to non_ascii if either string-encoding field is zero (non-ascii). |
+ // Branch to non_ascii if either string-encoding field is zero (non-ASCII). |
__ And(t4, t0, Operand(t1)); |
__ And(t4, t4, Operand(kStringEncodingMask)); |
__ Branch(&non_ascii, eq, t4, Operand(zero_reg)); |