Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16777 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55055 invoked by uid 1010); 17 Jun 2005 10:17:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55039 invoked from network); 17 Jun 2005 10:17:29 -0000 Received: from unknown (HELO zend.com) (127.0.0.1) by localhost with SMTP; 17 Jun 2005 10:17:29 -0000 X-Host-Fingerprint: 84.204.52.251 promo.hnet.spb.ru OpenBSD 3.0-3.4 Received: from ([84.204.52.251:37745] helo=promo.hnet.spb.ru) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 09/4D-20931-633A2B24 for ; Fri, 17 Jun 2005 06:17:27 -0400 Received: from thinkpad (unknown [192.168.3.118]) by promo.hnet.spb.ru (Postfix) with ESMTP id 19F191BAC97; Fri, 17 Jun 2005 14:13:45 +0400 (MSD) To: "'Sebastian Bergmann'" , Date: Fri, 17 Jun 2005 14:17:13 +0400 Message-ID: <001001c57325$bdbd2140$8202a8c0@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Subject: RE: [PHP-DEV] Adding the generated files for GOTO/SWITCH VM to CVS From: dmitry@zend.com ("Dmitry Stogov") References: Hi Sebastian, I don't like generated files in CVS at all. Having several copies can be a reason of lot of mistakes. Right now you are able to make call-threaded PHP, then regenerate executor and build another one. I think it is possible to automat this process with PHP building system. Old version of specialiser was implemented in C preprocessor and didn't require generation at all. But final executor was hard for debug. Thanks. Dmitry. > -----Original Message----- > From: news [mailto:news@sea.gmane.org] On Behalf Of Sebastian Bergmann > Sent: Friday, June 17, 2005 2:06 PM > To: internals@lists.php.net > Subject: [PHP-DEV] Adding the generated files for GOTO/SWITCH > VM to CVS > > > 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. > > -- > Sebastian Bergmann > http://www.sebastian-bergmann.de/ > GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 > C514 B85B 5D69 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >