Small fix for stitch.py

Change-Id: I8435aaeb4452b54e5563bbdb47b269f9d0a97b3a


[ROCm/rocprofiler commit: a5192bb9b3]
이 커밋은 다음에 포함됨:
Giovanni Baraldi가 2024-11-20 15:28:51 -06:00를 커밋했습니다
1 부모 473af5ebe8
커밋 3979438e90
1 파일이 변경됨
+4 -1
+4 -1
파일 보기
@@ -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: