cvs: ZendEngine2(PHP_5_3) / zend_compile.h zend_opcode.c

[email protected] ("Brian Shire") Fri, 05 Jun 2009 23:20:59 -0000
Newsgroups php.zend-engine.cvs
Message-ID <cvsshire1244244059@cvsserver>
shire		Fri Jun  5 23:20:59 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /ZendEngine2	zend_compile.h zend_opcode.c 
  Log:
  MFH: Make pass_two visible to extensions with ZEND_API (required for optimizer).
  
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_compile.h?r1=1.316.2.8.2.12.2.39&r2=1.316.2.8.2.12.2.40&diff_format=u
Index: ZendEngine2/zend_compile.h
diff -u ZendEngine2/zend_compile.h:1.316.2.8.2.12.2.39 ZendEngine2/zend_compile.h:1.316.2.8.2.12.2.40
--- ZendEngine2/zend_compile.h:1.316.2.8.2.12.2.39	Mon Jan 26 22:54:20 2009
+++ ZendEngine2/zend_compile.h	Fri Jun  5 23:20:59 2009
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_compile.h,v 1.316.2.8.2.12.2.39 2009/01/26 22:54:20 cseiler Exp $ */
+/* $Id: zend_compile.h,v 1.316.2.8.2.12.2.40 2009/06/05 23:20:59 shire Exp $ */
 
 #ifndef ZEND_COMPILE_H
 #define ZEND_COMPILE_H
@@ -582,7 +582,7 @@
 int get_next_op_number(zend_op_array *op_array);
 int print_class(zend_class_entry *class_entry TSRMLS_DC);
 void print_op_array(zend_op_array *op_array, int optimizations);
-int pass_two(zend_op_array *op_array TSRMLS_DC);
+ZEND_API int pass_two(zend_op_array *op_array TSRMLS_DC);
 zend_brk_cont_element *get_next_brk_cont_element(zend_op_array *op_array);
 void zend_do_first_catch(znode *open_parentheses TSRMLS_DC);
 void zend_initialize_try_catch_element(const znode *try_token TSRMLS_DC);
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_opcode.c?r1=1.110.2.6.2.3.2.10&r2=1.110.2.6.2.3.2.11&diff_format=u
Index: ZendEngine2/zend_opcode.c
diff -u ZendEngine2/zend_opcode.c:1.110.2.6.2.3.2.10 ZendEngine2/zend_opcode.c:1.110.2.6.2.3.2.11
--- ZendEngine2/zend_opcode.c:1.110.2.6.2.3.2.10	Wed Dec 31 11:15:32 2008
+++ ZendEngine2/zend_opcode.c	Fri Jun  5 23:20:59 2009
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_opcode.c,v 1.110.2.6.2.3.2.10 2008/12/31 11:15:32 sebastian Exp $ */
+/* $Id: zend_opcode.c,v 1.110.2.6.2.3.2.11 2009/06/05 23:20:59 shire Exp $ */
 
 #include <stdio.h>
 
@@ -359,7 +359,7 @@
 	}
 }
 
-int pass_two(zend_op_array *op_array TSRMLS_DC)
+ZEND_API int pass_two(zend_op_array *op_array TSRMLS_DC)
 {
 	zend_op *opline, *end;