Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 6d33f6d0c9133217a3ad3bffd112d37155f8d0ab..850c182144f797d4f624af3c7350629d5e9abb0f 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -5281,7 +5281,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()); |