| Index: runtime/vm/code_patcher.h
|
| diff --git a/runtime/vm/code_patcher.h b/runtime/vm/code_patcher.h
|
| index f563426099303e7af325bc9c96fcf02996f6cd30..57ee46a60bffcf1eaf72b49b6d4b53aabc4f2b34 100644
|
| --- a/runtime/vm/code_patcher.h
|
| +++ b/runtime/vm/code_patcher.h
|
| @@ -7,6 +7,7 @@
|
| #define VM_CODE_PATCHER_H_
|
|
|
| #include "vm/allocation.h"
|
| +#include "vm/native_entry.h"
|
|
|
| namespace dart {
|
|
|
| @@ -88,11 +89,18 @@ class CodePatcher : public AllStatic {
|
|
|
| static RawObject* GetEdgeCounterAt(uword pc, const Code& code);
|
|
|
| - static int32_t GetPoolOffsetAt(uword return_address);
|
| - static void SetPoolOffsetAt(uword return_address, int32_t offset);
|
| static void PatchPoolPointerCallAt(uword return_address,
|
| const Code& code,
|
| uword new_target);
|
| +
|
| + static uword GetNativeCallAt(uword return_address,
|
| + const Code& code,
|
| + NativeFunction* target);
|
| +
|
| + static void PatchNativeCallAt(uword return_address,
|
| + const Code& code,
|
| + NativeFunction target,
|
| + const Code& trampoline);
|
| };
|
|
|
| } // namespace dart
|
|
|