From a49b89f508a885985da97c6f81301a352b3d89ec Mon Sep 17 00:00:00 2001 From: Xuefer Date: Wed, 8 Jul 2015 14:31:15 +0800 Subject: [PATCH] Decompiler: remove __LINE__ mapping which is unstable --- lib/Decompiler.class.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/Decompiler.class.php b/lib/Decompiler.class.php index 9232154..6521c39 100644 --- a/lib/Decompiler.class.php +++ b/lib/Decompiler.class.php @@ -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);