Browse Source

Decompiler/dump: dumpOp shows line

master
Xuefer 6 years ago
parent
commit
08795e53d2
  1. 3
      lib/Decompiler.class.php

3
lib/Decompiler.class.php

@ -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) {

Loading…
Cancel
Save