Re: cvs: pear /PECL/apc Makefile.in apc_compile.c apc_optimizer.c apc_optimizer.h apc_pair.c apc_pair.h
| From: | George Schlossnagle | Date: | Sun, 22 Jun 2003 15:59:12 +0000 |
| Subject: | Re: cvs: pear /PECL/apc Makefile.in apc_compile.c apc_optimizer.c apc_optimizer.h apc_pair.c apc_pair.h | ||
| References: | 1 | Groups: | php.pecl.cvs |
| Request: | Send a blank email to pecl-cvs+get-286@lists.php.net to get a copy of this message | ||
On Sunday, June 22, 2003, at 11:40 AM, Rasmus Lerdorf wrote:
On Sun, 22 Jun 2003, George Schlossnagle wrote:With only two optimizations active, it shouldbe easy to track down the culprit. If you don't mind doing abit of debugging for me, can you try commeting out this case in apc_optimize.c:Log: integrated basic shell of optimizer. Currently only optimization of interpolated strings (reversing the loss of the patch reverted from 4.3.0 -> 4.3.1), and post_in in a void context. There is a problem withremoval of no-ops, so that has been temprarly commented out.When turning on optimization and trying to show a pres2 presentation, something gets into some sort of tight loop spewing something which causes my Mozilla to eat up my laptop. Having some trouble getting in there and figuring out exactly what is happening. Everything is fine with optimization turned off.
if ((p = peephole_inc(op_array->opcodes, i, op_array->last))) {
if (!are_branch_targets(cdr(p), jumps)) {
rewrite_inc(op_array->opcodes, p);
}
RESTART_PEEPHOLE_LOOP;
}
That one I rewrote last night to avoid using custom ops. My tests here all worked fine, but it seems the most suspect.
-Rasmus -- PECL CVS Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- George Schlossnagle-- Principal Consultant -- OmniTI Computer Consulting, Inc. -- +1.410.872.4910 x202 -- 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0