Index: src/x87/lithium-codegen-x87.cc |
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc |
index 3338ea59a451346c23034e710ad65f0186e23950..921259e96487dd921af2709ac677f307a19244e3 100644 |
--- a/src/x87/lithium-codegen-x87.cc |
+++ b/src/x87/lithium-codegen-x87.cc |
@@ -5893,7 +5893,7 @@ void LCodeGen::DoRegExpLiteral(LRegExpLiteral* instr) { |
// eax = regexp literal clone. |
// esi = context. |
int literal_offset = |
- FixedArray::OffsetOfElementAt(instr->hydrogen()->literal_index()); |
+ LiteralsArray::OffsetOfLiteralAt(instr->hydrogen()->literal_index()); |
__ LoadHeapObject(ecx, instr->hydrogen()->literals()); |
__ mov(ebx, FieldOperand(ecx, literal_offset)); |
__ cmp(ebx, factory()->undefined_value()); |