1
0
Fork 0

Decompiler/dump: dont print backtrace for dump

This commit is contained in:
Xuefer 2015-06-14 13:15:12 +08:00
parent 59b05b09ca
commit 7a054d0272
1 changed files with 4 additions and 4 deletions

View File

@ -2497,22 +2497,22 @@ class Decompiler
case XC_IS_VAR:
$s = '$' . $op['var'];
if ($which != 'result' && isset($EX['Ts'])) {
$s .= ':' . str($this->getOpVal($op, $EX));
$s .= ':' . str($this->getOpVal($op, $EX, null));
}
return $s;
case XC_IS_TMP_VAR:
$s = '#' . $op['var'];
if ($which != 'result' && isset($EX['Ts'])) {
$s .= ':' . str($this->getOpVal($op, $EX));
$s .= ':' . str($this->getOpVal($op, $EX, null));
}
return $s;
case XC_IS_CONST:
return isset($EX['Ts']) ? str($this->getOpVal($op, $EX)) : $op['var'] . ':' . var_export($op['constant'], true);
return isset($EX['Ts']) ? str($this->getOpVal($op, $EX, null)) : $op['var'] . ':' . var_export($op['constant'], true);
default:
return isset($EX['Ts']) ? str($this->getOpVal($op, $EX)) : $op['op_type'] . '?' . $op['var'];
return isset($EX['Ts']) ? str($this->getOpVal($op, $EX, null)) : $op['op_type'] . '?' . $op['var'];
}
}
// }}}