Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
dart::CodePatcher Class Reference

#include <code_patcher.h>

Inheritance diagram for dart::CodePatcher:
dart::AllStatic

Static Public Member Functions

static void PatchStaticCallAt (uword return_address, const Code &code, const Code &new_target)
 
static CodePtr GetStaticCallTargetAt (uword return_address, const Code &code)
 
static CodePtr GetInstanceCallAt (uword return_address, const Code &caller_code, Object *data)
 
static void PatchInstanceCallAt (uword return_address, const Code &caller_code, const Object &data, const Code &target)
 
static void PatchInstanceCallAtWithMutatorsStopped (Thread *thread, uword return_address, const Code &caller_code, const Object &data, const Code &target)
 
static FunctionPtr GetUnoptimizedStaticCallAt (uword return_address, const Code &code, ICData *ic_data)
 
static void InsertDeoptimizationCallAt (uword start)
 
static void PatchPoolPointerCallAt (uword return_address, const Code &code, const Code &new_target)
 
static void PatchSwitchableCallAt (uword return_address, const Code &caller_code, const Object &data, const Code &target)
 
static void PatchSwitchableCallAtWithMutatorsStopped (Thread *thread, uword return_address, const Code &caller_code, const Object &data, const Code &target)
 
static ObjectPtr GetSwitchableCallDataAt (uword return_address, const Code &caller_code)
 
static uword GetSwitchableCallTargetEntryAt (uword return_address, const Code &caller_code)
 
static CodePtr GetNativeCallAt (uword return_address, const Code &caller_code, NativeFunction *target)
 
static void PatchNativeCallAt (uword return_address, const Code &caller_code, NativeFunction target, const Code &trampoline)
 
static intptr_t GetSubtypeTestCachePoolIndex (uword return_address)
 

Detailed Description

Definition at line 35 of file code_patcher.h.

Member Function Documentation

◆ GetInstanceCallAt()

static CodePtr dart::CodePatcher::GetInstanceCallAt ( uword  return_address,
const Code caller_code,
Object data 
)
static

◆ GetNativeCallAt()

static CodePtr dart::CodePatcher::GetNativeCallAt ( uword  return_address,
const Code caller_code,
NativeFunction target 
)
static

◆ GetStaticCallTargetAt()

static CodePtr dart::CodePatcher::GetStaticCallTargetAt ( uword  return_address,
const Code code 
)
static

◆ GetSubtypeTestCachePoolIndex()

static intptr_t dart::CodePatcher::GetSubtypeTestCachePoolIndex ( uword  return_address)
static

◆ GetSwitchableCallDataAt()

static ObjectPtr dart::CodePatcher::GetSwitchableCallDataAt ( uword  return_address,
const Code caller_code 
)
static

◆ GetSwitchableCallTargetEntryAt()

static uword dart::CodePatcher::GetSwitchableCallTargetEntryAt ( uword  return_address,
const Code caller_code 
)
static

◆ GetUnoptimizedStaticCallAt()

static FunctionPtr dart::CodePatcher::GetUnoptimizedStaticCallAt ( uword  return_address,
const Code code,
ICData ic_data 
)
static

◆ InsertDeoptimizationCallAt()

static void dart::CodePatcher::InsertDeoptimizationCallAt ( uword  start)
static

◆ PatchInstanceCallAt()

static void dart::CodePatcher::PatchInstanceCallAt ( uword  return_address,
const Code caller_code,
const Object data,
const Code target 
)
static

◆ PatchInstanceCallAtWithMutatorsStopped()

static void dart::CodePatcher::PatchInstanceCallAtWithMutatorsStopped ( Thread thread,
uword  return_address,
const Code caller_code,
const Object data,
const Code target 
)
static

◆ PatchNativeCallAt()

static void dart::CodePatcher::PatchNativeCallAt ( uword  return_address,
const Code caller_code,
NativeFunction  target,
const Code trampoline 
)
static

◆ PatchPoolPointerCallAt()

static void dart::CodePatcher::PatchPoolPointerCallAt ( uword  return_address,
const Code code,
const Code new_target 
)
static

◆ PatchStaticCallAt()

static void dart::CodePatcher::PatchStaticCallAt ( uword  return_address,
const Code code,
const Code new_target 
)
static

◆ PatchSwitchableCallAt()

static void dart::CodePatcher::PatchSwitchableCallAt ( uword  return_address,
const Code caller_code,
const Object data,
const Code target 
)
static

◆ PatchSwitchableCallAtWithMutatorsStopped()

static void dart::CodePatcher::PatchSwitchableCallAtWithMutatorsStopped ( Thread thread,
uword  return_address,
const Code caller_code,
const Object data,
const Code target 
)
static

The documentation for this class was generated from the following file: