mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-26 01:29:18 +02:00
* Bring back tcg.getflagregister on Florian's request, but made it non-abstract. It may be used for IA64 support in future (if IA64 will live so long :).
git-svn-id: trunk@11457 -
This commit is contained in:
parent
a6eb251cee
commit
4dac183601
@ -83,6 +83,7 @@ unit cgobj;
|
||||
function getaddressregister(list:TAsmList):Tregister;virtual;
|
||||
function getfpuregister(list:TAsmList;size:Tcgsize):Tregister;virtual;
|
||||
function getmmregister(list:TAsmList;size:Tcgsize):Tregister;virtual;
|
||||
function getflagregister(list:TAsmList;size:Tcgsize):Tregister;virtual;
|
||||
{Does the generic cg need SIMD registers, like getmmxregister? Or should
|
||||
the cpu specific child cg object have such a method?}
|
||||
|
||||
@ -3870,6 +3871,13 @@ implementation
|
||||
internalerror(200807234);
|
||||
end;
|
||||
|
||||
|
||||
function tcg.getflagregister(list: TAsmList; size: Tcgsize): Tregister;
|
||||
begin
|
||||
Result:=TRegister(0);
|
||||
internalerror(200807238);
|
||||
end;
|
||||
|
||||
{*****************************************************************************
|
||||
TCG64
|
||||
*****************************************************************************}
|
||||
|
Loading…
Reference in New Issue
Block a user