Index: src/ppc/lithium-codegen-ppc.cc |
diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc |
index bc50754ae3ae2836b61c465d642ed7ce143acfd7..ad6d8db13d33dd0d4d3d9509ed2ec75708b674da 100644 |
--- a/src/ppc/lithium-codegen-ppc.cc |
+++ b/src/ppc/lithium-codegen-ppc.cc |
@@ -5695,7 +5695,7 @@ void LCodeGen::DoRegExpLiteral(LRegExpLiteral* instr) { |
// r3 = regexp literal clone. |
// r5 and r7-r9 are used as temporaries. |
int literal_offset = |
- FixedArray::OffsetOfElementAt(instr->hydrogen()->literal_index()); |
+ LiteralsArray::OffsetOfLiteralAt(instr->hydrogen()->literal_index()); |
__ Move(r10, instr->hydrogen()->literals()); |
__ LoadP(r4, FieldMemOperand(r10, literal_offset)); |
__ LoadRoot(ip, Heap::kUndefinedValueRootIndex); |