Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 52efd5fb522fe66fa70f1a623e572fbc8fd16af7..ee6eb97714217aab7672e66f02d05d65caa022af 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -6482,6 +6482,13 @@ void DirectCEntryStub::Generate(MacroAssembler* masm) { |
void DirectCEntryStub::GenerateCall(MacroAssembler* masm, |
+ ExternalReference function) { |
+ __ mov(r2, Operand(function)); |
+ GenerateCall(masm, r2); |
+} |
+ |
+ |
+void DirectCEntryStub::GenerateCall(MacroAssembler* masm, |
Register target) { |
intptr_t code = |
reinterpret_cast<intptr_t>(GetCode(masm->isolate()).location()); |