@@ -99,9 +99,9 @@ struct Profiler {
9999 report : Report ,
100100}
101101
102- struct StackUnwinder < ' a , ' b > {
102+ struct StackUnwinder < ' a > {
103103 context : & ' a DebugContext ,
104- machine : & ' a mut AsmMachine < ' b > ,
104+ machine : & ' a mut AsmMachine ,
105105 // Only keeping 3 registers here: 0 is pc, 1 is ra, 2 is s0(fp).
106106 registers : [ Option < u64 > ; 32 ] ,
107107 state : Option < ( gimli:: UnwindTableRow < Addr2LineEndianReader > , u64 ) > ,
@@ -116,8 +116,8 @@ struct UnwindInfo {
116116 // initial_address: u64,
117117}
118118
119- impl < ' a , ' b > StackUnwinder < ' a , ' b > {
120- fn new ( context : & ' a DebugContext , machine : & ' a mut AsmMachine < ' b > ) -> Self {
119+ impl < ' a , ' b > StackUnwinder < ' a > {
120+ fn new ( context : & ' a DebugContext , machine : & ' a mut AsmMachine ) -> Self {
121121 let mut registers = [ None ; 32 ] ;
122122 for ( i, v) in machine. machine . registers ( ) . iter ( ) . enumerate ( ) {
123123 registers[ i] = Some ( * v) ;
@@ -184,7 +184,7 @@ impl<'a, 'b> StackUnwinder<'a, 'b> {
184184 }
185185}
186186
187- impl < ' a , ' b > Iterator for StackUnwinder < ' a , ' b > {
187+ impl < ' a > Iterator for StackUnwinder < ' a > {
188188 type Item = Symbol ;
189189
190190 fn next ( & mut self ) -> Option < Self :: Item > {
0 commit comments