Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16776 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54740 invoked by uid 1010); 17 Jun 2005 10:17:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 54725 invoked from network); 17 Jun 2005 10:17:13 -0000 Received: from unknown (HELO iki.fi) (127.0.0.1) by localhost with SMTP; 17 Jun 2005 10:17:13 -0000 X-Host-Fingerprint: 195.197.172.116 gw02.mail.saunalahti.fi Linux 2.4/2.6 Received: from ([195.197.172.116:38628] helo=gw02.mail.saunalahti.fi) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id AF/3D-20931-923A2B24 for ; Fri, 17 Jun 2005 06:17:13 -0400 Received: from nest.netphobia.fi (YZCLXVIII.dsl.saunalahti.fi [85.76.34.69]) by gw02.mail.saunalahti.fi (Postfix) with ESMTP id 8FB24C280F; Fri, 17 Jun 2005 13:17:09 +0300 (EEST) Received: from nest.netphobia.fi (nest.netphobia.fi [127.0.0.1]) by nest.netphobia.fi (8.13.1/8.13.1) with ESMTP id j5HAHA4k009975; Fri, 17 Jun 2005 13:17:10 +0300 Received: from localhost (jani@localhost) by nest.netphobia.fi (8.13.1/8.13.1/Submit) with ESMTP id j5HAHAFe009972; Fri, 17 Jun 2005 13:17:10 +0300 X-Authentication-Warning: nest.netphobia.fi: jani owned process doing -bs Date: Fri, 17 Jun 2005 13:17:10 +0300 (EEST) Reply-To: Jani Taskinen To: Sebastian Bergmann cc: internals@lists.php.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [PHP-DEV] Adding the generated files for GOTO/SWITCH VM to CVS From: sniper@iki.fi (Jani Taskinen) Here's a patch to get the multiple versions: (totally untested!) http://www.php.net/~jani/patches/zend_multi_vm.patch I didn't want to change the generator that much, so if you want to generate all, just run it 3 times. Perhaps this could be a buildconf thing? --Jani On Fri, 17 Jun 2005, Sebastian Bergmann wrote: > It would be great (from a usability point) to add the generated files > for all three (CALL, GOTO, SWITCH) VM models to CVS as > > zend_vm_opcodes_call.h > zend_vm_execute_call.h > zend_vm_opcodes_goto.h > zend_vm_execute_goto.h > zend_vm_opcodes_switch.h > zend_vm_execute_switch.h > > and have the --with-zend-vm configure parameter choose the right pair. > > This way it will be possible to build GOTO and SWITCH without a working > PHP interpreter available. It would also be consistent with the "have > all generated files in CVS" rule. > > To make things easier with this new setup the zend_vm_gen.php script > should be changed that it creates the above listed files by default. > > -- Donate @ http://pecl.php.net/wishlist.php/sniper