summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-05-17 18:01:17 -0500
committerGitHub <noreply@github.com>2025-05-17 18:01:17 -0500
commit62a926a0f58e84ad7465ea51254af95054d02803 (patch)
tree8c8ba5144aa075b25a5cc36fb317da604470e79a /Tools
parent94888d250ee14afbe26f63de4ab54558c9aadd89 (diff)
parent473cb6c3bc92aa44dd2c161998ba102b59b8d9a2 (diff)
Merge pull request #13515 from tygyh/Remove-redundant-parentheses
Tools/symbolicate-ppc: Remove redundant parentheses
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/symbolicate-ppc.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/symbolicate-ppc.py b/Tools/symbolicate-ppc.py
index 4a7ddaebcb..d543422261 100755
--- a/Tools/symbolicate-ppc.py
+++ b/Tools/symbolicate-ppc.py
@@ -74,13 +74,13 @@ map = read_map(sys.argv[1])
def lookup(address):
i = 0
j = len(map)
- while(True):
- if (j < i):
+ while True:
+ if j < i:
return "JIT_PPC_[unknown]"
k = round((j + i) // 2)
- if (address < map[k].start):
+ if address < map[k].start:
j = k - 1
- elif (address >= map[k].end):
+ elif address >= map[k].end:
i = k + 1
else:
return "JIT_PPC_" + map[k].name