@@ -273,7 +273,7 @@ void RegisterContextUnwind::InitializeZerothFrame() {
273
273
call_site_unwind_plan = func_unwinders_sp->GetUnwindPlanAtCallSite (
274
274
process->GetTarget (), m_thread);
275
275
276
- if (call_site_unwind_plan. get () != nullptr ) {
276
+ if (call_site_unwind_plan != nullptr ) {
277
277
m_fallback_unwind_plan_sp = call_site_unwind_plan;
278
278
if (TryFallbackUnwindPlan ())
279
279
cfa_status = true ;
@@ -1725,10 +1725,10 @@ RegisterContextUnwind::SavedLocationForRegister(
1725
1725
// tricky frame and our usual techniques can continue to be used.
1726
1726
1727
1727
bool RegisterContextUnwind::TryFallbackUnwindPlan () {
1728
- if (m_fallback_unwind_plan_sp. get () == nullptr )
1728
+ if (m_fallback_unwind_plan_sp == nullptr )
1729
1729
return false ;
1730
1730
1731
- if (m_full_unwind_plan_sp. get () == nullptr )
1731
+ if (m_full_unwind_plan_sp == nullptr )
1732
1732
return false ;
1733
1733
1734
1734
if (m_full_unwind_plan_sp.get () == m_fallback_unwind_plan_sp.get () ||
@@ -1776,7 +1776,7 @@ bool RegisterContextUnwind::TryFallbackUnwindPlan() {
1776
1776
// fallback UnwindPlan. We checked if m_fallback_unwind_plan_sp was nullptr
1777
1777
// at the top -- the only way it became nullptr since then is via
1778
1778
// SavedLocationForRegister().
1779
- if (m_fallback_unwind_plan_sp. get () == nullptr )
1779
+ if (m_fallback_unwind_plan_sp == nullptr )
1780
1780
return true ;
1781
1781
1782
1782
// Switch the full UnwindPlan to be the fallback UnwindPlan. If we decide
@@ -1865,10 +1865,10 @@ bool RegisterContextUnwind::TryFallbackUnwindPlan() {
1865
1865
}
1866
1866
1867
1867
bool RegisterContextUnwind::ForceSwitchToFallbackUnwindPlan () {
1868
- if (m_fallback_unwind_plan_sp. get () == nullptr )
1868
+ if (m_fallback_unwind_plan_sp == nullptr )
1869
1869
return false ;
1870
1870
1871
- if (m_full_unwind_plan_sp. get () == nullptr )
1871
+ if (m_full_unwind_plan_sp == nullptr )
1872
1872
return false ;
1873
1873
1874
1874
if (m_full_unwind_plan_sp.get () == m_fallback_unwind_plan_sp.get () ||
0 commit comments