Index: runtime/vm/code_patcher_mips.cc |
=================================================================== |
--- runtime/vm/code_patcher_mips.cc (revision 22595) |
+++ runtime/vm/code_patcher_mips.cc (working copy) |
@@ -12,6 +12,14 @@ |
namespace dart { |
+RawArray* CodePatcher::GetClosureArgDescAt(uword return_address, |
+ const Code& code) { |
+ ASSERT(code.ContainsInstructionAt(return_address)); |
+ CallPattern call(return_address, code); |
+ return call.ArgumentsDescriptor(); |
+} |
+ |
+ |
uword CodePatcher::GetStaticCallTargetAt(uword return_address, |
const Code& code) { |
ASSERT(code.ContainsInstructionAt(return_address)); |