Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 565c2506ba5ef85a67dacf021568016424570e0a..58a8a61f0d81d9ba41247c0508fac906b2d9657a 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -2794,6 +2794,19 @@ void LCodeGen::DoStoreGlobalGeneric(LStoreGlobalGeneric* instr) { |
} |
+void LCodeGen::DoLinkObjectInList(LLinkObjectInList* instr) { |
+ Register object = ToRegister(instr->object()); |
+ ExternalReference sites_list_address = instr->GetReference(isolate()); |
+ |
+ __ li(at, Operand(sites_list_address)); |
+ __ lw(at, MemOperand(at)); |
+ __ sw(at, FieldMemOperand(object, |
+ instr->hydrogen()->store_field().offset())); |
+ __ li(at, Operand(sites_list_address)); |
+ __ sw(object, MemOperand(at)); |
+} |
+ |
+ |
void LCodeGen::DoLoadContextSlot(LLoadContextSlot* instr) { |
Register context = ToRegister(instr->context()); |
Register result = ToRegister(instr->result()); |