Browse Source

decompiler: fix computed array elements

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@723 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 11 years ago
parent
commit
4299945865
  1. 6
      Decompiler.class.php

6
Decompiler.class.php

@ -54,7 +54,10 @@ function value($value) // {{{
}
}
if (is_array($value)) {
if ($value instanceof Decompiler_Object) {
// use as is
}
else if (is_array($value)) {
$value = new Decompiler_Array($value);
}
else {
@ -1319,6 +1322,7 @@ class Decompiler
unset($op['cond_true']);
}
if (isset($op['cond_false'])) {
echo "TODO(cond_false):\n";
var_dump($op);// exit;
}
if ($opc == XC_JMPZ_EX || $opc == XC_JMPNZ_EX || $opc == XC_JMPZ) {

Loading…
Cancel
Save