1
0
Fork 0

remove asm from processor, it just cant be implemented in processor

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1416 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.1
Xuefer 2013-09-29 02:51:38 +00:00
parent 0674f307c4
commit 76e4d46e6f
4 changed files with 4 additions and 12 deletions

View File

@ -171,6 +171,7 @@ do_phpize() { # {{{1
--enable-xcache-encoder \
--enable-xcache-decoder \
--enable-xcache-disassembler \
--enable-xcache-assembler \
--enable-xcache-coverager \
--enable-xcache-test \
--enable-xcache-dprint \

View File

@ -74,12 +74,9 @@ define(`DEF_HASH_TABLE_FUNC', `
IFCALCCOPY(`size_t bucketsize;')
#if defined(HARDENING_PATCH_HASH_PROTECT) && HARDENING_PATCH_HASH_PROTECT
IFASM(`DST(`canary') = zend_hash_canary; DONE(canary)', `
dnl elseif
IFRESTORE(`DST(`canary') = zend_hash_canary; DONE(canary)', `
dnl else
PROCESS(unsigned int, canary)
')
IFRESTORE(`DST(`canary') = zend_hash_canary; DONE(canary)', `
dnl else
PROCESS(unsigned int, canary)
')
#endif
PROCESS(uint, nTableSize)

View File

@ -242,7 +242,6 @@ define(`IFRESTORE', `ifelse(PROCESSOR_TYPE, `restore', `$1', `$2')')
define(`IFCOPY', `IFSTORE(`$1', `IFRESTORE(`$1', `$2')')')
define(`IFCALCCOPY', `IFCALC(`$1', `IFCOPY(`$1', `$2')')')
define(`IFDPRINT', `ifelse(PROCESSOR_TYPE, `dprint', `$1', `$2')')
define(`IFASM', `ifelse(PROCESSOR_TYPE, `asm', `$1', `$2')')
define(`IFDASM', `ifelse(PROCESSOR_TYPE, `dasm', `$1', `$2')')
dnl }}}
EXPORT(`zend_op')
@ -279,8 +278,5 @@ REDEF(`PROCESSOR_TYPE', `dprint') include(srcdir`/processor/processor.m4')
#ifdef HAVE_XCACHE_DISASSEMBLER
REDEF(`PROCESSOR_TYPE', `dasm') include(srcdir`/processor/processor.m4')
#endif /* HAVE_XCACHE_DISASSEMBLER */
#ifdef HAVE_XCACHE_ASSEMBLER
REDEF(`PROCESSOR_TYPE', `asm') include(srcdir`/processor/processor.m4')
#endif /* HAVE_XCACHE_ASSEMBLER */
ifdef(`EXIT_PENDING', `m4exit(EXIT_PENDING)')

View File

@ -12,7 +12,6 @@ define(`DECL_STRUCT_P_FUNC', `translit(
IFSTORE( `xc_processor_t *processor, $1 *dst, const $1 * const src')
IFRESTORE(`xc_processor_t *processor, $1 *dst, const $1 * const src')
IFDASM( `xc_dasm_t *dasm, zval *dst, const $1 * const src')
IFASM( `$1 *dst, const $1 * const src')
TSRMLS_DC
)ifelse(`$3', `', `;')
popdef(`FUNC_NAME')dnl
@ -147,7 +146,6 @@ ifdef(`DASM_STRUCT_DIRECT', `', `
IFSTORE( `processor, $6 $2, $6 $3')
IFRESTORE(`processor, $6 $2, $6 $3')
IFDASM( `dasm, ifdef(`DASM_STRUCT_DIRECT', `dst', `zv'), $6 $3')
IFASM( `$6 $2, $6 $3')
TSRMLS_CC
);
ifdef(`DASM_STRUCT_DIRECT', `', `