]> granicus.if.org Git - php/commitdiff
no need to fetch trsm_ls when it's already available
authorAntony Dovgal <tony2001@php.net>
Thu, 1 Jun 2006 12:25:32 +0000 (12:25 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 1 Jun 2006 12:25:32 +0000 (12:25 +0000)
ext/reflection/php_reflection.c

index 5dac6120b737fde7e967cea0bac78a33b22bee65..08ddbf896e3b48e44bf3b89a1caf9b9b74b36e3b 100644 (file)
@@ -2955,7 +2955,6 @@ static int _addmethod(zend_function *mptr, int num_args, va_list args, zend_hash
        long filter = va_arg(args, long);
 
        if (mptr->common.fn_flags & filter) {
-               TSRMLS_FETCH();
                ALLOC_ZVAL(method);
                reflection_method_factory(ce, mptr, method TSRMLS_CC);
                add_next_index_zval(retval, method);
@@ -3092,7 +3091,6 @@ static int _addproperty(zend_property_info *pptr, int num_args, va_list args, ze
        }
        
        if (pptr->flags & filter) {
-               TSRMLS_FETCH();
                ALLOC_ZVAL(property);
                reflection_property_factory(ce, pptr, property TSRMLS_CC);
                add_next_index_zval(retval, property);