summaryrefslogtreecommitdiff
path: root/xcache
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2013-07-12 16:59:43 +0000
committerXuefer <xuefer@gmail.com>2013-07-12 16:59:43 +0000
commitb2ad347af5069523aadfd63dcb7d7ca130a4e1cb (patch)
tree2a9a21fbbaefd4e260c0a89cdad3bdbdc17dd082 /xcache
parentbeb0ee22d1af044cffc30e39f0071551795f1fa6 (diff)
downloadxcache-b2ad347af5069523aadfd63dcb7d7ca130a4e1cb.tar.gz
xcache-b2ad347af5069523aadfd63dcb7d7ca130a4e1cb.zip
disassembler, Decompiler: fix catch, ticks
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1303 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'xcache')
-rw-r--r--xcache/xc_opcode_spec_def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xcache/xc_opcode_spec_def.h b/xcache/xc_opcode_spec_def.h
index f8b4b5d..13dd0f1 100644
--- a/xcache/xc_opcode_spec_def.h
+++ b/xcache/xc_opcode_spec_def.h
@@ -132,7 +132,11 @@ static const xc_opcode_spec_t xc_opcode_spec[] = {
OPSPEC( UNUSED, UNUSED, UNUSED, UNUSED) /* 104 EXT_NOP */
OPSPEC( UNUSED, STD, UNUSED, UNUSED) /* 105 TICKS */
OPSPEC(SEND_NOREF, VAR, ARG, UNUSED) /* 106 SEND_VAR_NO_REF */
+#ifdef ZEND_ENGINE_2_4
+ OPSPEC( OPLINE, STD, STD, UNUSED) /* 107 CATCH */
+#else
OPSPEC( OPLINE, CLASS, STD, UNUSED) /* 107 CATCH */
+#endif
OPSPEC( UNUSED, STD, OPLINE, UNUSED) /* 108 THROW */
OPSPEC( FCLASS, STD, STD, CLASS) /* 109 FETCH_CLASS */
OPSPEC( UNUSED, STD, UNUSED, VAR) /* 110 CLONE */