@@ -279,7 +279,7 @@ void RegisterContextUnwind::InitializeZerothFrame() {
279
279
call_site_unwind_plan = func_unwinders_sp->GetUnwindPlanAtCallSite (
280
280
process->GetTarget (), m_thread);
281
281
282
- if (call_site_unwind_plan. get () != nullptr ) {
282
+ if (call_site_unwind_plan != nullptr ) {
283
283
m_fallback_unwind_plan_sp = call_site_unwind_plan;
284
284
if (TryFallbackUnwindPlan ())
285
285
cfa_status = true ;
@@ -1722,10 +1722,10 @@ RegisterContextUnwind::SavedLocationForRegister(
1722
1722
// tricky frame and our usual techniques can continue to be used.
1723
1723
1724
1724
bool RegisterContextUnwind::TryFallbackUnwindPlan () {
1725
- if (m_fallback_unwind_plan_sp. get () == nullptr )
1725
+ if (m_fallback_unwind_plan_sp == nullptr )
1726
1726
return false ;
1727
1727
1728
- if (m_full_unwind_plan_sp. get () == nullptr )
1728
+ if (m_full_unwind_plan_sp == nullptr )
1729
1729
return false ;
1730
1730
1731
1731
if (m_full_unwind_plan_sp.get () == m_fallback_unwind_plan_sp.get () ||
@@ -1773,7 +1773,7 @@ bool RegisterContextUnwind::TryFallbackUnwindPlan() {
1773
1773
// fallback UnwindPlan. We checked if m_fallback_unwind_plan_sp was nullptr
1774
1774
// at the top -- the only way it became nullptr since then is via
1775
1775
// SavedLocationForRegister().
1776
- if (m_fallback_unwind_plan_sp. get () == nullptr )
1776
+ if (m_fallback_unwind_plan_sp == nullptr )
1777
1777
return true ;
1778
1778
1779
1779
// Switch the full UnwindPlan to be the fallback UnwindPlan. If we decide
@@ -1862,10 +1862,10 @@ bool RegisterContextUnwind::TryFallbackUnwindPlan() {
1862
1862
}
1863
1863
1864
1864
bool RegisterContextUnwind::ForceSwitchToFallbackUnwindPlan () {
1865
- if (m_fallback_unwind_plan_sp. get () == nullptr )
1865
+ if (m_fallback_unwind_plan_sp == nullptr )
1866
1866
return false ;
1867
1867
1868
- if (m_full_unwind_plan_sp. get () == nullptr )
1868
+ if (m_full_unwind_plan_sp == nullptr )
1869
1869
return false ;
1870
1870
1871
1871
if (m_full_unwind_plan_sp.get () == m_fallback_unwind_plan_sp.get () ||
0 commit comments