diff options
author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2006-08-01 20:39:53 +0000 |
---|---|---|
committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2006-08-01 20:39:53 +0000 |
commit | aa6af0201e4e5aa0801a324179637bc2b4c4a9d9 (patch) | |
tree | 7ff8895a673f813e802a8b13cbf4c11a24974843 /compiler/cgutils.pas | |
parent | e5ae98800b3770daf08a1d40215dfd4da5cb6c0b (diff) | |
download | fpc-aa6af0201e4e5aa0801a324179637bc2b4c4a9d9.tar.gz |
* cleaned up subsetreg support (put everything in a record)
* prepared support for elements with arbitrary bit length (as opposed
to a multiple of 8)
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@4324 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/cgutils.pas')
-rw-r--r-- | compiler/cgutils.pas | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/compiler/cgutils.pas b/compiler/cgutils.pas index 26b3206a2d..192c9e7e34 100644 --- a/compiler/cgutils.pas +++ b/compiler/cgutils.pas @@ -61,6 +61,12 @@ unit cgutils; {$endif SUPPORT_UNALIGNED} end; + tsubsetregister = record + subsetreg : tregister; + startbit, bitlen: byte; + subsetregsize: tcgsize; + end; + tlocation = record loc : TCGLoc; size : TCGSize; @@ -95,9 +101,7 @@ unit cgutils; ); LOC_SUBSETREG, LOC_CSUBSETREG : ( - subsetreg : tregister; - startbit: byte; - subsetregsize: tcgsize; + sreg: tsubsetregister; ); end; |