summaryrefslogtreecommitdiff
path: root/processor
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2015-06-30 03:07:10 +0800
committerXuefer <xuefer@gmail.com>2015-07-03 13:02:03 +0800
commitc01538d0baf031c6e9de8a70c81e075f007c463e (patch)
treead5fff4bb73b1df3b03bbf2b1fe1525571c20b9a /processor
parentd94534988e0386e5aca13d3b742dbc5840eff335 (diff)
downloadxcache-c01538d0baf031c6e9de8a70c81e075f007c463e.tar.gz
xcache-c01538d0baf031c6e9de8a70c81e075f007c463e.zip
disassemble: fix processor for double, yet the code is not used for dasm for now
Diffstat (limited to 'processor')
-rw-r--r--processor/process.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/processor/process.m4 b/processor/process.m4
index 86e5189..d59a1b3 100644
--- a/processor/process.m4
+++ b/processor/process.m4
@@ -7,6 +7,7 @@ define(`PROCESS_SCALAR', `dnl {{{ (1:elm, 2:format=%d, 3:type=)
IFDASM(`
ifelse(
`$3', `zend_bool', `add_assoc_bool_ex(dst, XCACHE_STRS("$1"), SRC(`$1') ? 1 : 0);'
+ , `$3', `double', `add_assoc_double_ex(dst, XCACHE_STRS("$1"), SRC(`$1'));'
, `', `', `add_assoc_long_ex(dst, XCACHE_STRS("$1"), SRC(`$1'));'
)
')