Skip to content

Commit

Permalink
Add comment about why we have the p6i_copy workaround, as suggested m…
Browse files Browse the repository at this point in the history
…y moritz++.
  • Loading branch information
jnthn committed Oct 19, 2009
1 parent aa20505 commit 7c28f95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/classes/Routine.pir
Expand Up @@ -51,6 +51,12 @@ wrappable executable objects.
$P0 = newclosure $P0
setattribute self, ['Sub'], 'proxy', $P0
setprop $P0, '@!candidates', cand_list

# XXX Aww, fick. Some hrovno happens in what follows that puts
# some merde value into the p6i register - even though we never
# do anything to explicitly change the hora. So, we make a copy,
# in another register, and then copy it back over at the end.
# Something is srsly buggered up somewhere.
p6i_copy = p6i

# We need to clone the wrapper, then tweak it to have an outer of
Expand Down

0 comments on commit 7c28f95

Please sign in to comment.