diff options
author | nickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2016-05-03 14:24:10 +0000 |
---|---|---|
committer | nickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2016-05-03 14:24:10 +0000 |
commit | 03b2282b09ac798c056829922f5b951d11420bba (patch) | |
tree | 09d10a5ec0187fcedbd92f6eb28f351853574b5d /compiler/hlcgobj.pas | |
parent | daf80aa07dc132627958309e658efc0808dcda4d (diff) | |
download | fpc-03b2282b09ac798c056829922f5b951d11420bba.tar.gz |
* use the high level code generator's getaddressregister method in thlcgobj.maybe_change_load_node_reg
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@33636 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/hlcgobj.pas')
-rw-r--r-- | compiler/hlcgobj.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/hlcgobj.pas b/compiler/hlcgobj.pas index 9b5e11f108..1b690e2ad1 100644 --- a/compiler/hlcgobj.pas +++ b/compiler/hlcgobj.pas @@ -4241,7 +4241,7 @@ implementation else {$endif cpu64bitalu} if getregtype(rr.old)=R_ADDRESSREGISTER then - rr.new := cg.getaddressregister(current_asmdata.CurrAsmList) + rr.new := hlcg.getaddressregister(current_asmdata.CurrAsmList,n.resultdef) else rr.new := cg.getintregister(current_asmdata.CurrAsmList,n.location.size); end; |