Skip to content

Commit

Permalink
Regenerated build/
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Mar 11, 2014
1 parent aea6a4a commit 4235922
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 111 deletions.
38 changes: 1 addition & 37 deletions build/32bits/phalcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,6 @@ PHP includes the Zend Engine, freely available at
#include <ext/mbstring/php_unicode.h>
#endif

#include <ext/pdo/php_pdo_driver.h>

#include <Zend/zend_API.h>
#include <Zend/zend_operators.h>
#include <Zend/zend_exceptions.h>
Expand Down Expand Up @@ -1884,7 +1882,7 @@ typedef zend_function phalcon_fcall_cache_entry;

#else

#define NELEMSM1(x) ((sizeof(x)/sizeof(x[0])) - sizeof(x[0]))
#define NELEMSM1(x) ((sizeof(x) - sizeof(x[0]))/sizeof(x[0]))

#define PHALCON_CALL_FUNCTIONW(return_value_ptr, func_name, ...) \
do { \
Expand Down Expand Up @@ -18282,7 +18280,6 @@ zend_class_entry *phalcon_kernel_ce;
static PHP_METHOD(Phalcon_Kernel, preComputeHashKey);
static PHP_METHOD(Phalcon_Kernel, preComputeHashKey32);
static PHP_METHOD(Phalcon_Kernel, preComputeHashKey64);
static PHP_METHOD(Phalcon_Kernel, testCall);

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_kernel_precomputehashkey, 0, 0, 1)
ZEND_ARG_INFO(0, arrKey)
Expand All @@ -18292,7 +18289,6 @@ static const zend_function_entry phalcon_kernel_method_entry[] = {
PHP_ME(Phalcon_Kernel, preComputeHashKey, arginfo_phalcon_kernel_precomputehashkey, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_ME(Phalcon_Kernel, preComputeHashKey32, arginfo_phalcon_kernel_precomputehashkey, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_ME(Phalcon_Kernel, preComputeHashKey64, arginfo_phalcon_kernel_precomputehashkey, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_ME(Phalcon_Kernel, testCall, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_FE_END
};

Expand Down Expand Up @@ -18413,38 +18409,6 @@ static PHP_METHOD(Phalcon_Kernel, preComputeHashKey64){
RETURN_STRING(strKey, 0);
}

static PHP_METHOD(Phalcon_Kernel, testCall)
{
zval *i, *j, *k, *p, tmp = zval_used_for_init;
zend_class_entry *ce = zend_fetch_class(ZEND_STRL("Test"), ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
zend_function *f = NULL;

phalcon_fetch_params(0, 2, 0, &k, &p);

MAKE_STD_ZVAL(i);
ZVAL_LONG(i, 1);

MAKE_STD_ZVAL(j);
ZVAL_LONG(j, 0);

while (1) {
zval *sum = NULL;

is_smaller_function(&tmp, i, k TSRMLS_CC);
if (!zend_is_true(&tmp)) {
break;
}

zend_call_method_with_2_params(NULL, ce, &f, "add", &sum, p, p);
add_function(j, j, sum TSRMLS_CC);
zval_ptr_dtor(&sum);

increment_function(i);
}

zval_ptr_dtor(&i);
RETURN_ZVAL(j, 1, 1);
}



Expand Down
38 changes: 1 addition & 37 deletions build/64bits/phalcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,6 @@ PHP includes the Zend Engine, freely available at
#include <ext/mbstring/php_unicode.h>
#endif

#include <ext/pdo/php_pdo_driver.h>

#include <Zend/zend_API.h>
#include <Zend/zend_operators.h>
#include <Zend/zend_exceptions.h>
Expand Down Expand Up @@ -1884,7 +1882,7 @@ typedef zend_function phalcon_fcall_cache_entry;

#else

#define NELEMSM1(x) ((sizeof(x)/sizeof(x[0])) - sizeof(x[0]))
#define NELEMSM1(x) ((sizeof(x) - sizeof(x[0]))/sizeof(x[0]))

#define PHALCON_CALL_FUNCTIONW(return_value_ptr, func_name, ...) \
do { \
Expand Down Expand Up @@ -18282,7 +18280,6 @@ zend_class_entry *phalcon_kernel_ce;
static PHP_METHOD(Phalcon_Kernel, preComputeHashKey);
static PHP_METHOD(Phalcon_Kernel, preComputeHashKey32);
static PHP_METHOD(Phalcon_Kernel, preComputeHashKey64);
static PHP_METHOD(Phalcon_Kernel, testCall);

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_kernel_precomputehashkey, 0, 0, 1)
ZEND_ARG_INFO(0, arrKey)
Expand All @@ -18292,7 +18289,6 @@ static const zend_function_entry phalcon_kernel_method_entry[] = {
PHP_ME(Phalcon_Kernel, preComputeHashKey, arginfo_phalcon_kernel_precomputehashkey, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_ME(Phalcon_Kernel, preComputeHashKey32, arginfo_phalcon_kernel_precomputehashkey, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_ME(Phalcon_Kernel, preComputeHashKey64, arginfo_phalcon_kernel_precomputehashkey, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_ME(Phalcon_Kernel, testCall, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_FE_END
};

Expand Down Expand Up @@ -18413,38 +18409,6 @@ static PHP_METHOD(Phalcon_Kernel, preComputeHashKey64){
RETURN_STRING(strKey, 0);
}

static PHP_METHOD(Phalcon_Kernel, testCall)
{
zval *i, *j, *k, *p, tmp = zval_used_for_init;
zend_class_entry *ce = zend_fetch_class(ZEND_STRL("Test"), ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
zend_function *f = NULL;

phalcon_fetch_params(0, 2, 0, &k, &p);

MAKE_STD_ZVAL(i);
ZVAL_LONG(i, 1);

MAKE_STD_ZVAL(j);
ZVAL_LONG(j, 0);

while (1) {
zval *sum = NULL;

is_smaller_function(&tmp, i, k TSRMLS_CC);
if (!zend_is_true(&tmp)) {
break;
}

zend_call_method_with_2_params(NULL, ce, &f, "add", &sum, p, p);
add_function(j, j, sum TSRMLS_CC);
zval_ptr_dtor(&sum);

increment_function(i);
}

zval_ptr_dtor(&i);
RETURN_ZVAL(j, 1, 1);
}



Expand Down
38 changes: 1 addition & 37 deletions build/safe/phalcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,6 @@ PHP includes the Zend Engine, freely available at
#include <ext/mbstring/php_unicode.h>
#endif

#include <ext/pdo/php_pdo_driver.h>

#include <Zend/zend_API.h>
#include <Zend/zend_operators.h>
#include <Zend/zend_exceptions.h>
Expand Down Expand Up @@ -1884,7 +1882,7 @@ typedef zend_function phalcon_fcall_cache_entry;

#else

#define NELEMSM1(x) ((sizeof(x)/sizeof(x[0])) - sizeof(x[0]))
#define NELEMSM1(x) ((sizeof(x) - sizeof(x[0]))/sizeof(x[0]))

#define PHALCON_CALL_FUNCTIONW(return_value_ptr, func_name, ...) \
do { \
Expand Down Expand Up @@ -18282,7 +18280,6 @@ zend_class_entry *phalcon_kernel_ce;
static PHP_METHOD(Phalcon_Kernel, preComputeHashKey);
static PHP_METHOD(Phalcon_Kernel, preComputeHashKey32);
static PHP_METHOD(Phalcon_Kernel, preComputeHashKey64);
static PHP_METHOD(Phalcon_Kernel, testCall);

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_kernel_precomputehashkey, 0, 0, 1)
ZEND_ARG_INFO(0, arrKey)
Expand All @@ -18292,7 +18289,6 @@ static const zend_function_entry phalcon_kernel_method_entry[] = {
PHP_ME(Phalcon_Kernel, preComputeHashKey, arginfo_phalcon_kernel_precomputehashkey, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_ME(Phalcon_Kernel, preComputeHashKey32, arginfo_phalcon_kernel_precomputehashkey, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_ME(Phalcon_Kernel, preComputeHashKey64, arginfo_phalcon_kernel_precomputehashkey, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_ME(Phalcon_Kernel, testCall, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_FE_END
};

Expand Down Expand Up @@ -18413,38 +18409,6 @@ static PHP_METHOD(Phalcon_Kernel, preComputeHashKey64){
RETURN_STRING(strKey, 0);
}

static PHP_METHOD(Phalcon_Kernel, testCall)
{
zval *i, *j, *k, *p, tmp = zval_used_for_init;
zend_class_entry *ce = zend_fetch_class(ZEND_STRL("Test"), ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
zend_function *f = NULL;

phalcon_fetch_params(0, 2, 0, &k, &p);

MAKE_STD_ZVAL(i);
ZVAL_LONG(i, 1);

MAKE_STD_ZVAL(j);
ZVAL_LONG(j, 0);

while (1) {
zval *sum = NULL;

is_smaller_function(&tmp, i, k TSRMLS_CC);
if (!zend_is_true(&tmp)) {
break;
}

zend_call_method_with_2_params(NULL, ce, &f, "add", &sum, p, p);
add_function(j, j, sum TSRMLS_CC);
zval_ptr_dtor(&sum);

increment_function(i);
}

zval_ptr_dtor(&i);
RETURN_ZVAL(j, 1, 1);
}



Expand Down

0 comments on commit 4235922

Please sign in to comment.