forked from AbleOS/holey-bytes
adding loops and seeing they totally not work
This commit is contained in:
parent
58578dd4b2
commit
cf74fdd99c
|
@ -1509,12 +1509,12 @@ impl Codegen {
|
|||
if bres.store != scope.store {
|
||||
let (to_store, from_store) = (bres.store.unwrap(), scope.store.unwrap());
|
||||
self.ci.nodes.unlock(to_store);
|
||||
bres.store = Some(
|
||||
self.ci.scope.store = Some(
|
||||
self.ci
|
||||
.nodes
|
||||
.new_node(ty::Id::VOID, Kind::Phi, [node, from_store, to_store]),
|
||||
);
|
||||
self.ci.nodes.lock(bres.store.unwrap());
|
||||
self.ci.nodes.lock(self.ci.scope.store.unwrap());
|
||||
}
|
||||
|
||||
self.ci.nodes.unlock_remove_scope(&scope);
|
||||
|
|
Loading…
Reference in a new issue