cvs: ZendEngine2 / zend_compile.h zend_opcode.c

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

  Modified files:              
    /ZendEngine2	zend_compile.h zend_opcode.c 
  Log:
  Make pass_two visible to extensions with ZEND_API (required for optimizer).
  
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_compile.h?r1=1.393&r2=1.394&diff_format=u
Index: ZendEngine2/zend_compile.h
diff -u ZendEngine2/zend_compile.h:1.393 ZendEngine2/zend_compile.h:1.394
--- ZendEngine2/zend_compile.h:1.393	Sat May 23 18:03:26 2009
+++ ZendEngine2/zend_compile.h	Fri Jun  5 23:20:58 2009
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_compile.h,v 1.393 2009/05/23 18:03:26 andrei Exp $ */
+/* $Id: zend_compile.h,v 1.394 2009/06/05 23:20:58 shire Exp $ */
 
 #ifndef ZEND_COMPILE_H
 #define ZEND_COMPILE_H
@@ -599,7 +599,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.136&r2=1.137&diff_format=u
Index: ZendEngine2/zend_opcode.c
diff -u ZendEngine2/zend_opcode.c:1.136 ZendEngine2/zend_opcode.c:1.137
--- ZendEngine2/zend_opcode.c:1.136	Wed Dec 31 11:12:29 2008
+++ ZendEngine2/zend_opcode.c	Fri Jun  5 23:20:58 2009
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_opcode.c,v 1.136 2008/12/31 11:12:29 sebastian Exp $ */
+/* $Id: zend_opcode.c,v 1.137 2009/06/05 23:20:58 shire Exp $ */
 
 #include <stdio.h>
 
@@ -408,7 +408,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;