Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 770cecb7b41963a49fdfec72f1f4539a998d1d5e..8b7a494f7c1e39c2ebd35ec3c646c6f91624eee0 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -2992,6 +2992,20 @@ void LCodeGen::DoStoreGlobalGeneric(LStoreGlobalGeneric* instr) { |
} |
+void LCodeGen::DoLinkObjectInList(LLinkObjectInList* instr) { |
+ Register object = ToRegister(instr->object()); |
+ Register temp = ToRegister(instr->temp()); |
+ ExternalReference sites_list_address = instr->GetReference(isolate()); |
+ |
+ __ mov(temp, Immediate(sites_list_address)); |
+ __ mov(temp, Operand(temp, 0)); |
+ __ mov(FieldOperand(object, instr->hydrogen()->store_field().offset()), |
+ temp); |
+ __ mov(temp, Immediate(sites_list_address)); |
+ __ mov(Operand(temp, 0), object); |
+} |
+ |
+ |
void LCodeGen::DoLoadContextSlot(LLoadContextSlot* instr) { |
Register context = ToRegister(instr->context()); |
Register result = ToRegister(instr->result()); |