Skip to content

Instantly share code, notes, and snippets.

Created June 8, 2011 01:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1013627 to your computer and use it in GitHub Desktop.
Save anonymous/1013627 to your computer and use it in GitHub Desktop.
.sub 'get_string' :subid('WSubId_7') :method
# Body
# {
.annotate 'line', 38
getattribute $P2, self, 'status'
$P2.'todo'('for now')
.annotate 'line', 39
# var i: $P1
new $P1, [ 'Python'; 'instance' ]
.annotate 'line', 40
.const 'Sub' $P4 = 'WSubId_8'
newclosure $P3, $P4
setattribute $P1, '__repr__', $P3
.annotate 'line', 41
# s: $S1
set $P2, $P1
null $S1
if_null $P2, __label_1
set $S1, $P2
__label_1:
# }
.annotate 'line', 44
.end # get_string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment