1
0
Fork 0

Decompiler: make op.line out of build jmpinfo

This commit is contained in:
Xuefer 2015-06-22 12:28:26 +08:00
parent 08795e53d2
commit 88d5782223
1 changed files with 3 additions and 1 deletions

View File

@ -1422,7 +1422,6 @@ class Decompiler
$last = count($opcodes) - 1;
for ($i = 0; $i <= $last; $i++) {
$op = &$opcodes[$i];
$op['line'] = $i;
switch ($op['opcode']) {
case XC_CONT:
case XC_BRK:
@ -1575,6 +1574,9 @@ class Decompiler
}
$range = array(0, count($opcodes) - 1, 'EX' => &$EX);
for ($i = $range[0]; $i <= $range[1]; $i++) {
$opcodes[$i]['line'] = $i;
}
if ($this->outputOpcode) {
$this->keepTs = true;
$this->dumpRange($range);