1
0
Fork 0

Decompiler: show removed opcode in comment

This commit is contained in:
Xuefer 2015-06-08 13:34:31 +08:00
parent a767eaaecd
commit 7942b78ff7
1 changed files with 6 additions and 1 deletions

View File

@ -2552,7 +2552,12 @@ class Decompiler
echo str_pad($op['line'], 4);
echo str_pad($op['lineno'], 4);
$name = xcache_get_opcode($op['opcode']);
if (isset($op['oldopcode'])) {
$name = '//' . xcache_get_opcode($op['oldopcode']);
}
else {
$name = xcache_get_opcode($op['opcode']);
}
if (substr($name, 0, 5) == 'ZEND_') {
$name = substr($name, 5);