Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index bed1724fdca4a838df045a5277c9b8f6519194e7..b12fbca8bb0957cc11196e01b8f4a9093ffae763 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -2930,6 +2930,19 @@ void LCodeGen::DoStoreGlobalGeneric(LStoreGlobalGeneric* instr) { |
} |
+void LCodeGen::DoLinkObjectInList(LLinkObjectInList* instr) { |
+ Register object = ToRegister(instr->object()); |
+ ExternalReference sites_list_address = instr->GetReference(isolate()); |
+ |
+ __ mov(ip, Operand(sites_list_address)); |
+ __ ldr(ip, MemOperand(ip)); |
+ __ str(ip, FieldMemOperand(object, |
+ instr->hydrogen()->store_field().offset())); |
+ __ mov(ip, Operand(sites_list_address)); |
+ __ str(object, MemOperand(ip)); |
+} |
+ |
+ |
void LCodeGen::DoLoadContextSlot(LLoadContextSlot* instr) { |
Register context = ToRegister(instr->context()); |
Register result = ToRegister(instr->result()); |