6#if defined(TARGET_ARCH_ARM)
22void CodeBreakpoint::PatchCode() {
25 switch (breakpoint_kind_) {
26 case UntaggedPcDescriptors::kIcCall:
27 stub_target = StubCode::ICCallBreakpoint().ptr();
29 case UntaggedPcDescriptors::kUnoptStaticCall:
30 stub_target = StubCode::UnoptStaticCallBreakpoint().ptr();
32 case UntaggedPcDescriptors::kRuntimeCall:
33 stub_target = StubCode::RuntimeCallBreakpoint().ptr();
43void CodeBreakpoint::RestoreCode() {
46 switch (breakpoint_kind_) {
47 case UntaggedPcDescriptors::kIcCall:
48 case UntaggedPcDescriptors::kUnoptStaticCall:
49 case UntaggedPcDescriptors::kRuntimeCall: {
CodePtr OrigStubAddress() const
static CodePtr GetStaticCallTargetAt(uword return_address, const Code &code)
static void PatchStaticCallAt(uword return_address, const Code &code, const Code &new_target)