mirror of
https://github.com/catseye/SixtyPical.git
synced 2025-01-07 12:29:52 +00:00
Erase types from IndirectIndexed locations.
This commit is contained in:
parent
264838b2ec
commit
3420fbc243
@ -265,7 +265,7 @@ Some more tests...
|
||||
= main ([])
|
||||
= A: PoisonedWith (Immediate 4)
|
||||
= Y: UpdatedWith (Immediate 0)
|
||||
= IndirectIndexed (NamedLocation (Just Word) "position") Y: UpdatedWith A
|
||||
= IndirectIndexed (NamedLocation Nothing "position") Y: UpdatedWith A
|
||||
= NamedLocation Nothing "position": PoisonedWith A
|
||||
= NamedLocation Nothing "value": UpdatedWith (Immediate 1)
|
||||
=
|
||||
|
@ -32,6 +32,8 @@ untypedLocation (LowByteOf x) =
|
||||
untypedLocation x
|
||||
untypedLocation (Indexed table index) =
|
||||
untypedLocation table
|
||||
untypedLocation (IndirectIndexed word index) =
|
||||
IndirectIndexed (untypedLocation word) index
|
||||
untypedLocation (NamedLocation _ name) =
|
||||
NamedLocation Nothing name
|
||||
untypedLocation x = x
|
||||
|
Loading…
Reference in New Issue
Block a user