mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-13 08:56:04 +00:00
Make firstEightPowers const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50975 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9b38d7db6d
commit
7c2e4f2fc5
@ -438,8 +438,8 @@ namespace {
|
|||||||
static unsigned int
|
static unsigned int
|
||||||
powerOf5(integerPart *dst, unsigned int power)
|
powerOf5(integerPart *dst, unsigned int power)
|
||||||
{
|
{
|
||||||
static integerPart firstEightPowers[] = { 1, 5, 25, 125, 625, 3125,
|
static const integerPart firstEightPowers[] = { 1, 5, 25, 125, 625, 3125,
|
||||||
15625, 78125 };
|
15625, 78125 };
|
||||||
static integerPart pow5s[maxPowerOfFiveParts * 2 + 5] = { 78125 * 5 };
|
static integerPart pow5s[maxPowerOfFiveParts * 2 + 5] = { 78125 * 5 };
|
||||||
static unsigned int partsCount[16] = { 1 };
|
static unsigned int partsCount[16] = { 1 };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user