mirror of
https://github.com/corda/corda.git
synced 2025-02-15 15:12:46 +00:00
temporarily reacquire source in releaseRegister
This avoids a SEGV when freezing the register.
This commit is contained in:
parent
055ec4dd9f
commit
c78e76c747
@ -1949,8 +1949,10 @@ releaseRegister(Context* c, Value* v, unsigned frameIndex,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (live(v) and not remaining) {
|
if (live(v) and not remaining) {
|
||||||
|
addSite(c, 0, 0, sizeInBytes, v, source);
|
||||||
move(c, c->stack, c->locals, sizeInBytes, v, source,
|
move(c, c->stack, c->locals, sizeInBytes, v, source,
|
||||||
frameSite(c, frameIndex));
|
frameSite(c, frameIndex));
|
||||||
|
removeSite(c, v, source);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DebugRegisters) {
|
if (DebugRegisters) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user