Index: src/mips64/lithium-codegen-mips64.cc |
diff --git a/src/mips64/lithium-codegen-mips64.cc b/src/mips64/lithium-codegen-mips64.cc |
index 6c7b7e1151284a79de1d6d24adaec3fb0ab24880..014847e36c7b11d79d91ec9d6994e91f12fdfdd1 100644 |
--- a/src/mips64/lithium-codegen-mips64.cc |
+++ b/src/mips64/lithium-codegen-mips64.cc |
@@ -5599,7 +5599,7 @@ void LCodeGen::DoRegExpLiteral(LRegExpLiteral* instr) { |
// a0 = regexp literal clone. |
// a2 and a4-a6 are used as temporaries. |
int literal_offset = |
- FixedArray::OffsetOfElementAt(instr->hydrogen()->literal_index()); |
+ LiteralsArray::OffsetOfLiteralAt(instr->hydrogen()->literal_index()); |
__ li(a7, instr->hydrogen()->literals()); |
__ ld(a1, FieldMemOperand(a7, literal_offset)); |
__ LoadRoot(at, Heap::kUndefinedValueRootIndex); |