Permalink
Browse files

MFH: Make pass_two visible to extensions with ZEND_API (required for …

…optimizer).
  • Loading branch information...
Brian Shire
Brian Shire committed Jun 5, 2009
1 parent 04f5d7c commit cb7a21a42b4f91a42617dd22562d819f9b2c2be5
Showing with 2 additions and 2 deletions.
  1. +1 −1 Zend/zend_compile.h
  2. +1 −1 Zend/zend_opcode.c
View
@@ -582,7 +582,7 @@ void init_op(zend_op *op TSRMLS_DC);
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);
View
@@ -359,7 +359,7 @@ static void zend_extension_op_array_handler(zend_extension *extension, zend_op_a
}
}
-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;

0 comments on commit cb7a21a

Please sign in to comment.