Re: Learning Q: PIR/PASM test

2003-06-06 Thread Flaviu Turean/P6
Leo, thanks for the answer. It confirms my initial understanding of the alocation. But the line of my original message was more like "IF there is a bug, this code will not uncover it, even though it is supposed to". On to finding where @ARGV is found at interpreter start time; and how to set a

Re: Learning Q: PIR/PASM test

2003-06-05 Thread Leopold Toetsch
Flaviu Turean/P6 <[EMAIL PROTECTED]> wrote: > Hello! [ t/syn/clash_4.imc ] > 1. $I0 (PIR) is set to `defined $P1`; > 2. I0 (parrot) is set to `defined P1`. If there is a bug in lifetime > analysis, in step 1 above $P1 may mapped to P1. Similarly, $I0 may be > mapped to I0; No, $I0 gets mapped to

Learning Q: PIR/PASM test

2003-06-05 Thread Flaviu Turean/P6
Hello! The code below is lifted from /languages/imcc/t/clash.t. I'm trying to understand test writer's intent. Bear with me, please, while I embarass myself: > ## > output_is(<<'CODE', <<'OUT', "defined"); > .sub _test > $P1 = new PerlHash > $I0 = def