Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index 5dd012e93e328c1ffd044d3bec4bd7e467d31a83..1e3f7ddc169034b21f5c8daf149cc3cb072fe7ad 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -535,6 +535,10 @@ class MacroAssembler: public Assembler { |
// into register dst. |
void LoadFromSafepointRegisterSlot(Register dst, Register src); |
+ // Flush the I-cache from asm code. You should use CPU::FlushICache from C. |
+ // Does not handle errors. |
+ void FlushICache(Register address, unsigned instructions); |
+ |
// MIPS32 R2 instruction macro. |
void Ins(Register rt, Register rs, uint16_t pos, uint16_t size); |
void Ext(Register rt, Register rs, uint16_t pos, uint16_t size); |
@@ -1092,6 +1096,11 @@ class MacroAssembler: public Assembler { |
void LoadInstanceDescriptors(Register map, Register descriptors); |
+ // Patch the relocated value (lui/ori pair). |
+ void PatchRelocatedValue(Register li_location, |
+ Register scratch, |
+ Register new_value); |
+ |
private: |
void CallCFunctionHelper(Register function, |
ExternalReference function_reference, |