mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-25 22:11:17 +02:00
* don't hardcode the bitsize of the register states
git-svn-id: branches/hlcgllvm@26981 -
This commit is contained in:
parent
839ad45b9e
commit
c2c7f753a8
@ -130,7 +130,7 @@ implementation
|
||||
written to more than once }
|
||||
hp:=headertai;
|
||||
{ 2 bits per superregister, rounded up to a byte }
|
||||
writtenregs:=allocmem((maxreg*2+7) shr 3);
|
||||
writtenregs:=allocmem((maxreg*bitsizeof(twrittenregs[low(tsuperregister)])+7) shr 3);
|
||||
while assigned(hp) do
|
||||
begin
|
||||
case hp.typ of
|
||||
|
Loading…
Reference in New Issue
Block a user