mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 00:39:53 +00:00
match ldflda too lol
This commit is contained in:
parent
b209bb6999
commit
59572d19fb
@ -68,7 +68,7 @@ namespace QSBTests
|
||||
Func<Instruction, bool> matches = useType switch
|
||||
{
|
||||
UseType.Store => x => x.MatchStfld(out var f) && f.GenericEq(field),
|
||||
UseType.Load => x => x.MatchLdfld(out var f) && f.GenericEq(field),
|
||||
UseType.Load => x => (x.MatchLdfld(out var f) || x.MatchLdflda(out f)) && f.GenericEq(field),
|
||||
_ => throw new ArgumentOutOfRangeException(nameof(useType), useType, null)
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user