temporarily reacquire source in releaseRegister

This avoids a SEGV when freezing the register.
This commit is contained in:
Joel Dice 2008-12-21 14:48:26 -07:00
parent 055ec4dd9f
commit c78e76c747

View File

@ -1949,8 +1949,10 @@ releaseRegister(Context* c, Value* v, unsigned frameIndex,
}
if (live(v) and not remaining) {
addSite(c, 0, 0, sizeInBytes, v, source);
move(c, c->stack, c->locals, sizeInBytes, v, source,
frameSite(c, frameIndex));
removeSite(c, v, source);
}
if (DebugRegisters) {