develooper Front page | perl.perl6.internals | Postings from February 2006

Re: Heureka - from the -Ofun department

Thread Previous | Thread Next
From:
Leopold Toetsch
Date:
February 8, 2006 14:33
Subject:
Re: Heureka - from the -Ofun department

On Feb 8, 2006, at 22:28, Joshua Isom wrote:

> but an option to disable compile time optimizations would help with 
> the testing the interpreter instead of the compiler

It's not an optimization and it can't be turned off, as there are no 
such opcodes like 'pow_i_ic_ic'. And again - the evaluation of that 
constant is using the parrot *runtime* (compilation is runtime, just 
earlier ;) . And if a JITted program behaves differently that's still 
another case.

See also compilers/imcc/optimizer.c:eval_ins and especially line 655.

leo



Thread Previous | Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About