Browse Source

fix for not using memcpy

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1438 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
master
Xuefer 8 years ago
parent
commit
b860171aae
  1. 6
      processor/processor.m4

6
processor/processor.m4

@ -222,7 +222,7 @@ DEF_STRUCT_P_FUNC(`zval_ptr_nullable', , `dnl {{{
popdef(`DASM_STRUCT_DIRECT')
}
else {
IFCOPY(`COPYNULL_EX(src[0], src)')
IFCOPY(`COPYNULL_EX(dst[0], src)')
}
DONE_SIZE(sizeof(zval_ptr_nullable))
')
@ -550,7 +550,7 @@ define(`UNION_znode_op', `dnl {{{
IFCOPY(`
IFNOTMEMCPY(`
default:
$1 = $2;
DST(`$1') = SRC(`$1');
')
', `
case IS_VAR:
@ -592,7 +592,7 @@ DEF_STRUCT_P_FUNC(`znode', , `dnl {{{
IFCOPY(`
IFNOTMEMCPY(`
default:
memcpy(&DST(`u'), &SRC(`u'), sizeof(SRC(`u')));
DST(`u') = SRC(`u');
')
', `
case IS_VAR:

Loading…
Cancel
Save