Matt Fowles <[EMAIL PROTECTED]> wrote: > Leo~ > On Wed, 24 Nov 2004 16:42:31 +0100, Leopold Toetsch <[EMAIL PROTECTED]> wrote: >> And as a side effect it will make Dan's evils subs compile, because >> long-lived lexicals already have their storage aka register. Only temps >> need a register allocated.
> What happens to temps that need to cross function calls in your scheme? These would go along with the lexicals in the non-volatile area. But such temps are rare (AFAIK). You need a HLL construct like: a = b + c + foo() giving something like this: a = new Undef $P0 = new Undef $P0 = b + c $P1 = foo() a = $P0 + $P1 The temp $P0 has to persist over the call and needs a permanent store too. > Matt leo