| Index: runtime/vm/runtime_entry_mips.cc
|
| diff --git a/runtime/vm/runtime_entry_mips.cc b/runtime/vm/runtime_entry_mips.cc
|
| index 70f51cc7a47a0506e56f5a113a8cf388a5e5778e..872a37c26a2bd97d4982969248ccd94ecd0aeb11 100644
|
| --- a/runtime/vm/runtime_entry_mips.cc
|
| +++ b/runtime/vm/runtime_entry_mips.cc
|
| @@ -40,16 +40,17 @@ void RuntimeEntry::Call(Assembler* assembler, intptr_t argument_count) const {
|
| entry =
|
| Simulator::RedirectExternalReference(entry, call_kind, argument_count);
|
| #endif
|
| + ExternalLabel label(entry);
|
| if (is_leaf()) {
|
| ASSERT(argument_count == this->argument_count());
|
| - ExternalLabel label(entry);
|
| __ BranchLink(&label);
|
| } else {
|
| // Argument count is not checked here, but in the runtime entry for a more
|
| // informative error message.
|
| - __ LoadImmediate(S5, entry);
|
| + __ LoadExternalLabel(S5, &label, kNotPatchable);
|
| __ LoadImmediate(S4, argument_count);
|
| - __ BranchLink(&Isolate::Current()->stub_code()->CallToRuntimeLabel());
|
| + __ BranchLink(&Isolate::Current()->stub_code()->CallToRuntimeLabel(),
|
| + kNotPatchable);
|
| }
|
| }
|
|
|
|
|