Fix an assertion introduced by my last change to the toString method. We
authorReid Spencer <rspencer@reidspencer.com>
Sat, 19 May 2007 00:29:55 +0000 (00:29 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 19 May 2007 00:29:55 +0000 (00:29 +0000)
commit20a4c23bcc958cbc3ce9775b440d205ac0944db8
tree0fe15e4d6828d6bbb3ad3b6a1d3b82e936f46cd5
parentf5135be3fc20534ccaee52cbfa80a8408af5672b
Fix an assertion introduced by my last change to the toString method. We
can't use getZExtValue() to extract the low order bits for each digit.
Instead, we need to access the low order word directly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37242 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/APInt.cpp