set Value::high when appropriate in MyCompiler::initLocalsFromLogicalIp

This commit is contained in:
Joel Dice 2009-02-08 15:13:49 -07:00
parent 175ec1ff48
commit 0fbe89c147

View File

@ -4835,6 +4835,10 @@ class MyCompiler: public Compiler {
Local* local = e->localsBefore + i;
if (local->value) {
initLocal(1, i);
if (i > 0 and local->value->high == local[-1].value) {
c.locals[i].value->high = c.locals[i - 1].value;
}
}
}
}