| Index: runtime/vm/code_patcher.h
|
| diff --git a/runtime/vm/code_patcher.h b/runtime/vm/code_patcher.h
|
| index f563426099303e7af325bc9c96fcf02996f6cd30..ce909fd08b7a3f26a94478817b0e1f8c6d5989ce 100644
|
| --- a/runtime/vm/code_patcher.h
|
| +++ b/runtime/vm/code_patcher.h
|
| @@ -17,6 +17,7 @@ class ExternalLabel;
|
| class Function;
|
| class ICData;
|
| class RawArray;
|
| +class RawCode;
|
| class RawFunction;
|
| class RawICData;
|
| class RawObject;
|
| @@ -45,12 +46,12 @@ class CodePatcher : public AllStatic {
|
| // Patch static call before return_address in given code to the new target.
|
| static void PatchStaticCallAt(uword return_address,
|
| const Code& code,
|
| - uword new_target_address);
|
| + const Code& new_target);
|
|
|
| // Patch instance call before return_address in given code to the new target.
|
| static void PatchInstanceCallAt(uword return_address,
|
| const Code& code,
|
| - uword new_target_address);
|
| + const Code& new_target);
|
|
|
| // Patch entry point with a jump as specified in the code's patch region.
|
| static void PatchEntry(const Code& code);
|
| @@ -67,14 +68,14 @@ class CodePatcher : public AllStatic {
|
|
|
| // Return the target address of the static call before return_address
|
| // in given code.
|
| - static uword GetStaticCallTargetAt(uword return_address, const Code& code);
|
| + static RawCode* GetStaticCallTargetAt(uword return_address, const Code& code);
|
|
|
| // Get instance call information. Returns the call target and sets each
|
| // of the output parameters ic_data and arguments_descriptor if they are
|
| // non-NULL.
|
| - static uword GetInstanceCallAt(uword return_address,
|
| - const Code& code,
|
| - ICData* ic_data);
|
| + static RawCode* GetInstanceCallAt(uword return_address,
|
| + const Code& code,
|
| + ICData* ic_data);
|
|
|
| // Return target of an unoptimized static call and its ICData object
|
| // (calls target via a stub).
|
| @@ -92,7 +93,7 @@ class CodePatcher : public AllStatic {
|
| static void SetPoolOffsetAt(uword return_address, int32_t offset);
|
| static void PatchPoolPointerCallAt(uword return_address,
|
| const Code& code,
|
| - uword new_target);
|
| + const Code& new_target);
|
| };
|
|
|
| } // namespace dart
|
|
|