-
-
Save anonymous/61ed830fc8f2f476ba6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.sub 'get_string' :method :vtable | |
# Body | |
# { | |
.annotate 'line', 76 | |
# var cls: $P1 | |
getattribute $P1, self, '__class__' | |
.annotate 'line', 77 | |
set $I1, $P1 | |
unless $I1 goto __label_3 | |
getattribute $P2, $P1, '__dict__' | |
exists $I1, $P2['__repr__'] | |
__label_3: | |
unless $I1 goto __label_1 | |
.annotate 'line', 78 | |
getattribute $P4, $P1, '__dict__' | |
$P3 = $P4['__repr__'] | |
.tailcall $P3(self) | |
goto __label_2 | |
__label_1: # else | |
# predefined string | |
.annotate 'line', 80 | |
getattribute $P5, self, '__dict__' | |
.annotate 'line', 77 | |
set $S1, $P5 | |
.annotate 'line', 80 | |
.return($S1) | |
__label_2: # endif | |
# } | |
.annotate 'line', 81 | |
.end # get_string | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment