mirror of
https://github.com/corda/corda.git
synced 2025-02-08 20:10:22 +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) {
|
||||
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user