Fix the bitwidth of the remaining fields.
llvm-svn: 136884
diff --git a/llvm/test/Scripts/common_dump.py b/llvm/test/Scripts/common_dump.py
index cd0c493..fd58993 100644
--- a/llvm/test/Scripts/common_dump.py
+++ b/llvm/test/Scripts/common_dump.py
@@ -31,7 +31,7 @@
return ''.join(bytes).strip()
-def HexDump(val, numBits=32):
+def HexDump(valPair):
"""
1. do not print 'L'
2. Handle negatives and large numbers by mod (2^numBits)
@@ -40,6 +40,7 @@
4. Do print 0x Why?
so that they can be easily distinguished using sed/rx
"""
+ val, numBits = valPair
assert 0 <= val < (1 << numBits)
val = val & (( 1 << numBits) - 1)