1
0
Fork 0

Decompiler/dump: dumpOp shows line

This commit is contained in:
Xuefer 2015-06-30 12:58:31 +08:00
parent 2fd12a1c29
commit 08795e53d2
1 changed files with 2 additions and 1 deletions

View File

@ -2518,6 +2518,7 @@ class Decompiler
function dumpOp($op, &$EX) // {{{
{
assert('isset($op)');
echo str_pad($op['line'], 4);
echo str_pad($op['lineno'], 4);
$name = xcache_get_opcode($op['opcode']);
@ -2559,7 +2560,7 @@ class Decompiler
$EX['Ts'] = null;
}
for ($i = $range[0]; $i <= $range[1]; ++$i) {
echo $EX['indent'], str_pad($i, 4);
echo $EX['indent'];
$this->dumpOp($EX['opcodes'][$i], $EX);
}
if (!$ts) {