Index: runtime/vm/assembler_mips.cc |
diff --git a/runtime/vm/assembler_mips.cc b/runtime/vm/assembler_mips.cc |
index f5cbd1a917acfe66640eb8a5ed17f273b4295d87..98aebcbdd70f205b61b71a262a4923b20128c808 100644 |
--- a/runtime/vm/assembler_mips.cc |
+++ b/runtime/vm/assembler_mips.cc |
@@ -533,6 +533,13 @@ void Assembler::BranchLinkPatchable(const StubEntry& stub_entry) { |
} |
+void Assembler::BranchLinkToRuntime() { |
+ lw(T9, Address(THR, Thread::call_to_runtime_entry_point_offset())); |
+ lw(CODE_REG, Address(THR, Thread::call_to_runtime_stub_offset())); |
+ jalr(T9); |
+} |
+ |
+ |
void Assembler::BranchLinkWithEquivalence(const StubEntry& stub_entry, |
const Object& equivalence) { |
const Code& target = Code::Handle(stub_entry.code()); |