6#if defined(TARGET_ARCH_X64)
23void CodeBreakpoint::PatchCode() {
26 switch (breakpoint_kind_) {
27 case UntaggedPcDescriptors::kIcCall:
28 stub_target = StubCode::ICCallBreakpoint().ptr();
30 case UntaggedPcDescriptors::kUnoptStaticCall:
31 stub_target = StubCode::UnoptStaticCallBreakpoint().ptr();
33 case UntaggedPcDescriptors::kRuntimeCall:
34 stub_target = StubCode::RuntimeCallBreakpoint().ptr();
44void CodeBreakpoint::RestoreCode() {
47 switch (breakpoint_kind_) {
48 case UntaggedPcDescriptors::kIcCall:
49 case UntaggedPcDescriptors::kUnoptStaticCall:
50 case UntaggedPcDescriptors::kRuntimeCall: {
CodePtr OrigStubAddress() const
static void PatchPoolPointerCallAt(uword return_address, const Code &code, const Code &new_target)
static CodePtr GetStaticCallTargetAt(uword return_address, const Code &code)