void CmdNext::cleanupStepCont() { if (m_stepContUnit) { if (m_stepContOffset != InvalidAbsoluteOffset) { phpRemoveBreakPoint(m_stepContUnit, m_stepContOffset); m_stepContOffset = InvalidAbsoluteOffset; } m_stepContTag = nullptr; m_stepContUnit = nullptr; } }
CmdFlowControl::StepDestination& CmdFlowControl::StepDestination::operator=(StepDestination&& other) { if (this != &other) { if (m_ownsInternalBreakpoint) phpRemoveBreakPoint(m_unit, m_offset); m_unit = other.m_unit; m_offset = other.m_offset; m_ownsInternalBreakpoint = other.m_ownsInternalBreakpoint; other.m_unit = nullptr; other.m_offset = InvalidAbsoluteOffset; other.m_ownsInternalBreakpoint = false; } return *this; }
CmdFlowControl::StepDestination::~StepDestination() { if (m_ownsInternalBreakpoint) phpRemoveBreakPoint(m_unit, m_offset); }