#NEWLINE# @ jit . unroll_safe #NEWLINE# def gettoprubyframe( self ) : #NEWLINE# #INDENT# frame = self . gettopframe ( ) #NEWLINE# while ( ( frame is not None ) and ( not isinstance ( self , Frame ) ) ) : #NEWLINE# #INDENT# frame = frame . backref ( ) #NEWLINE# #UNINDENT# return frame