2
0

Small fix for stitch.py

Change-Id: I8435aaeb4452b54e5563bbdb47b269f9d0a97b3a


[ROCm/rocprofiler commit: a5192bb9b3]
Este cometimento está contido em:
Giovanni Baraldi
2024-11-20 15:28:51 -06:00
ascendente 473af5ebe8
cometimento 3979438e90
+4 -1
Ver ficheiro
@@ -146,7 +146,10 @@ class RegisterWatchList:
# Matches tokens in reverse order
def try_match_swapped(self, i, line, increment):
return self.insts[i + 1].type == self.code[line][1] and self.insts[i].type == self.code[line + 1][1]
try:
return self.insts[i + 1].type == self.code[line][1] and self.insts[i].type == self.code[line + 1][1]
except:
return False
# Translates PC values to instructions, for auto captured ISA
class PCTranslator: