On 2010-07-01, at 15:47, Henry Minsky wrote:

>> 
>> Are you looking at the output of the tag compiler, or the output of the
>> script compler?
>> 
> 
> I'm looking at the as3 output from the SWF9 backend of the script compiler,
> and I still
> see the "if ($debug)" (as andre pointed out).  Is something being bypassed
> for
> constraint calculations?

Hm...  That should not be the case.

In http://jira.openlaszlo.org/jira/browse/LPP-9017 we backed out the stub for 
`$lzc$validateReferenceDependencies` that was (incorrectly) added in r16402 for 
http://jira.openlaszlo.org/jira/browse/LPP-9003.  After backing that out, we 
don't get errors in DHTML or as3 compiles (which we would, if the optimization 
were not happening).

This makes me think that the import compiler is doing something different that 
is preventing the optimization there.  The compile-time constants have to be 
set in the object writer, not just the tag compiler.


Reply via email to