Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 81e408717173a408de461d92699bd46b2bf4ce7e..dbdd146a1ebbee7665d265a4667247e033b27419 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -5458,7 +5458,7 @@ void LCodeGen::DoRegExpLiteral(LRegExpLiteral* instr) { |
// rbx = regexp literal. |
// rax = regexp literal clone. |
int literal_offset = |
- FixedArray::OffsetOfElementAt(instr->hydrogen()->literal_index()); |
+ LiteralsArray::OffsetOfLiteralAt(instr->hydrogen()->literal_index()); |
__ Move(rcx, instr->hydrogen()->literals()); |
__ movp(rbx, FieldOperand(rcx, literal_offset)); |
__ CompareRoot(rbx, Heap::kUndefinedValueRootIndex); |