mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 09:00:17 +02:00
RegisterAllocationPass: Amend type cast in DecodeSRANode()
Uses the proper type for StoreRegister. Same behavior though, due to layout.
This commit is contained in:
1 parent
fb4d8a6d14
commit
995e2657bb
1 file changed
+1
-1
@@ -176,7 +176,7 @@ private:
|
||||
if (IROp->Op == OP_LOADREGISTER || IROp->Op == OP_LOADPF || IROp->Op == OP_LOADAF) {
|
||||
return Node;
|
||||
} else if (IROp->Op == OP_STOREREGISTER) {
|
||||
auto V = IROp->C<IR::IROp_StorePF>()->Value;
|
||||
auto V = IROp->C<IR::IROp_StoreRegister>()->Value;
|
||||
V.ClearKill();
|
||||
return IR->GetNode(V);
|
||||
} else if (IROp->Op == OP_STOREPF || IROp->Op == OP_STOREAF) {
|
||||
|
||||
Reference in new issue
Block a user