summaryrefslogtreecommitdiff
path: root/xcache
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2015-04-18 16:07:05 +0000
committerXuefer <xuefer@gmail.com>2015-04-18 16:07:05 +0000
commit95da04c9f2548f5eae0db1b46347361d09c96724 (patch)
tree0aeb9d4dabc0e647243cf1d63f0fffa8f843b2cc /xcache
parentc9aea0c76408fc7b0e022fc5af93d2c72522bc93 (diff)
downloadxcache-95da04c9f2548f5eae0db1b46347361d09c96724.tar.gz
xcache-95da04c9f2548f5eae0db1b46347361d09c96724.zip
dasm: fix include opcode spec
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1592 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'xcache')
-rw-r--r--xcache/xc_utils.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xcache/xc_utils.c b/xcache/xc_utils.c
index 4c2b576..7bcce1b 100644
--- a/xcache/xc_utils.c
+++ b/xcache/xc_utils.c
@@ -302,7 +302,10 @@ static void xc_fix_opcode_ex_znode(int tofix, xc_op_spec_t spec, Z_OP_TYPEOF_TYP
}
switch (*op_type) {
case IS_CONST:
- if (spec == OPSPEC_UNUSED || spec == OPSPEC_OPLINE) {
+ if (spec == OPSPEC_UNUSED
+ || spec == OPSPEC_OPLINE
+ || spec == OPSPEC_INCLUDE
+ ) {
*op_type = IS_UNUSED;
}
break;