Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 88d2bfe462e9ccc212750046f764c582ec10ca39..5c8d08c5c6caad2a67bb65319a64a463d4bf7ce6 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -6912,6 +6912,13 @@ void DirectCEntryStub::Generate(MacroAssembler* masm) { |
void DirectCEntryStub::GenerateCall(MacroAssembler* masm, |
+ ExternalReference function) { |
+ __ li(t9, Operand(function)); |
+ this->GenerateCall(masm, t9); |
+} |
+ |
+ |
+void DirectCEntryStub::GenerateCall(MacroAssembler* masm, |
Register target) { |
__ Move(t9, target); |
__ AssertStackIsAligned(); |