File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -782,7 +782,7 @@ def _create_mask(self, match):
782
782
else :
783
783
mask = STDID_BOTTOM_11_MASK
784
784
785
- # has this mask already been setup, if so just return the index
785
+ # has this mask already been loaded?
786
786
for index , existing_mask in enumerate (self ._masks_in_use ):
787
787
if mask == existing_mask :
788
788
self ._dbg ("Mask Found" , index , existing_mask )
@@ -793,7 +793,8 @@ def _create_mask(self, match):
793
793
next_mask_index = masks_used
794
794
795
795
self ._set_mask_register (next_mask_index , mask , match .extended )
796
- # self._masks_in_use.append(MASKS[next_mask_index])
796
+ # Append the actual mask to the 'in use' array so later we can
797
+ # find it to use again
797
798
self ._masks_in_use .append (mask )
798
799
return next_mask_index
799
800
You can’t perform that action at this time.
0 commit comments