| Index: src/mips/lithium-codegen-mips.cc
 | 
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
 | 
| index 584fd7aa62d53eadf87f5f5ee90faea57f7fb53c..60df710dbf119e043db163cc13a01e6fae54e156 100644
 | 
| --- a/src/mips/lithium-codegen-mips.cc
 | 
| +++ b/src/mips/lithium-codegen-mips.cc
 | 
| @@ -4759,15 +4759,13 @@ void LCodeGen::DoToFastProperties(LToFastProperties* instr) {
 | 
|  void LCodeGen::DoRegExpLiteral(LRegExpLiteral* instr) {
 | 
|    Label materialized;
 | 
|    // Registers will be used as follows:
 | 
| -  // a3 = JS function.
 | 
|    // t3 = literals array.
 | 
|    // a1 = regexp literal.
 | 
|    // a0 = regexp literal clone.
 | 
|    // a2 and t0-t2 are used as temporaries.
 | 
| -  __ lw(a3, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
 | 
| -  __ lw(t3, FieldMemOperand(a3, JSFunction::kLiteralsOffset));
 | 
| -  int literal_offset = FixedArray::kHeaderSize +
 | 
| -      instr->hydrogen()->literal_index() * kPointerSize;
 | 
| +  int literal_offset =
 | 
| +      FixedArray::OffsetOfElementAt(instr->hydrogen()->literal_index());
 | 
| +  __ LoadHeapObject(t3, instr->hydrogen()->literals());
 | 
|    __ lw(a1, FieldMemOperand(t3, literal_offset));
 | 
|    __ LoadRoot(at, Heap::kUndefinedValueRootIndex);
 | 
|    __ Branch(&materialized, ne, a1, Operand(at));
 | 
| 
 |