Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index bee45d726148a1ca6868d2a79719da6ad7b335bc..d958405e82c2ac6759a49be03f5c132f6277c285 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -5398,7 +5398,7 @@ void LCodeGen::DoRegExpLiteral(LRegExpLiteral* instr) { |
// r0 = regexp literal clone. |
// r2-5 are used as temporaries. |
int literal_offset = |
- FixedArray::OffsetOfElementAt(instr->hydrogen()->literal_index()); |
+ LiteralsArray::OffsetOfLiteralAt(instr->hydrogen()->literal_index()); |
__ Move(r6, instr->hydrogen()->literals()); |
__ ldr(r1, FieldMemOperand(r6, literal_offset)); |
__ LoadRoot(ip, Heap::kUndefinedValueRootIndex); |