cvs: ZendEngine2 / README.ZEND_VM zend_vm_gen.php

From: Date: Thu, 28 Oct 2004 06:49:00 +0000
Subject: cvs: ZendEngine2 / README.ZEND_VM zend_vm_gen.php
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3119@lists.php.net to get a copy of this message
dmitry Thu Oct 28 02:49:00 2004 EDT Modified files: /ZendEngine2 README.ZEND_VM zend_vm_gen.php Log: --without-lines changed to --with-lines http://cvs.php.net/diff.php/ZendEngine2/README.ZEND_VM?r1=1.4&r2=1.5&ty=u Index: ZendEngine2/README.ZEND_VM diff -u ZendEngine2/README.ZEND_VM:1.4 ZendEngine2/README.ZEND_VM:1.5 --- ZendEngine2/README.ZEND_VM:1.4 Wed Oct 27 14:08:56 2004 +++ ZendEngine2/README.ZEND_VM Thu Oct 28 02:48:59 2004 @@ -96,10 +96,10 @@ disable opcode specialization using --without-specializer. You can include or exclude old executor together with specialized one using --without-old-executor. At last you can debug executor using original zend_vm_def.h or generated file -zend_vm_execute.h. Debugging with generated file requires --without-lines +zend_vm_execute.h. Debugging with original file requires --with-lines option. By default ZE2 uses the following command to generate executor: -$ php zend_vm_gen.php --with-vm-kind=CALL --without-lines +$ php zend_vm_gen.php --with-vm-kind=CALL Zend Engine II currently includes two executors during the build process, one is the specialized version and the other is the old one non-specialized with http://cvs.php.net/diff.php/ZendEngine2/zend_vm_gen.php?r1=1.3&r2=1.4&ty=u Index: ZendEngine2/zend_vm_gen.php diff -u ZendEngine2/zend_vm_gen.php:1.3 ZendEngine2/zend_vm_gen.php:1.4 --- ZendEngine2/zend_vm_gen.php:1.3 Wed Oct 27 21:19:33 2004 +++ ZendEngine2/zend_vm_gen.php Thu Oct 28 02:48:59 2004 @@ -1002,7 +1002,7 @@ "\n --with-vm-kind=CALL|SWITCH|GOTO - select threading model (default is CALL)". "\n --without-specializer - disable executor specialization". "\n --without-old-executor - disable old executor". - "\n --without-lines - disable #line directives". + "\n --with-lines - enable #line directives". "\n\n"); } @@ -1031,9 +1031,9 @@ } else if ($argv[$i] == "--without-old-executor") { // Disabling code for old-style executor define("ZEND_VM_OLD_EXECUTOR", 0); - } else if ($argv[$i] == "--without-lines") { - // Disabling debuging using original zend_vm_def.h - define("ZEND_VM_LINES", 0); + } else if ($argv[$i] == "--with-lines") { + // Enabling debuging using original zend_vm_def.h + define("ZEND_VM_LINES", 1); } else if ($argv[$i] == "--help") { usage(); exit(); @@ -1058,8 +1058,8 @@ define("ZEND_VM_OLD_EXECUTOR", 1); } if (!defined("ZEND_VM_LINES")) { - // Using #line directives to debug with original zend_vm_def.h by default - define("ZEND_VM_LINES", 1); + // Disabling #line directives + define("ZEND_VM_LINES", 0); } gen_vm("zend_vm_def.h", "zend_vm_execute.skl");

« previous php.zend-engine.cvs (#3119) next »