1
0
Fork 0

Decompiler: remove __LINE__ mapping which is unstable

This commit is contained in:
Xuefer 2015-07-08 14:31:15 +08:00
parent c3ce9a2d5b
commit a49b89f508
1 changed files with 1 additions and 6 deletions

View File

@ -1708,9 +1708,8 @@ class Decompiler
$T = &$EX['Ts'];
$opcodes = &$EX['opcodes'];
$lastphpop = null;
$currentSourceLine = null;
for ($i = $range[0]; $i <= $range[1]; $i++, unsetArray($EX['value2constant'], $currentSourceLine)) {
for ($i = $range[0]; $i <= $range[1]; $i++) {
// {{{ prepair
$op = &$opcodes[$i];
$opc = $op['opcode'];
@ -1723,10 +1722,6 @@ class Decompiler
$op2 = $op['op2'];
$res = $op['result'];
$ext = $op['extended_value'];
$currentSourceLine = $op['lineno'];
if ($currentSourceLine) {
$EX['value2constant'][$currentSourceLine] = '__LINE__';
}
$opname = xcache_get_opcode($opc);