summaryrefslogtreecommitdiff
path: root/compiler/ncgbas.pas
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-08-20 08:24:07 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-08-20 08:24:07 +0000
commit8e36b5ee5b95db88827b893eff0c1e4045f05f88 (patch)
treeaa5ff1146b8bb2d34ed429a3dbb2bf55cb727458 /compiler/ncgbas.pas
parent0de5f89252c589a6a53b462ebb6bbfd49bf8275c (diff)
downloadfpc-8e36b5ee5b95db88827b893eff0c1e4045f05f88.tar.gz
+ ttgobj.gethltemptyped() routine for allocating managed types with high level
code generator support * refactored some internal temp generator code git-svn-id: http://svn.freepascal.org/svn/fpc/branches/jvmbackend@18681 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/ncgbas.pas')
-rw-r--r--compiler/ncgbas.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ncgbas.pas b/compiler/ncgbas.pas
index 8a1d61163d..1ab5749cef 100644
--- a/compiler/ncgbas.pas
+++ b/compiler/ncgbas.pas
@@ -403,7 +403,7 @@ interface
if is_managed_type(tempinfo^.typedef) then
begin
location_reset_ref(tempinfo^.location,LOC_REFERENCE,def_cgsize(tempinfo^.typedef),0);
- tg.GetTempTyped(current_asmdata.CurrAsmList,tempinfo^.typedef,tempinfo^.temptype,tempinfo^.location.reference);
+ tg.gethltemptyped(current_asmdata.CurrAsmList,tempinfo^.typedef,tempinfo^.temptype,tempinfo^.location.reference);
{ the temp could have been used previously either because the memory location was reused or
because we're in a loop }
hlcg.g_finalize(current_asmdata.CurrAsmList,tempinfo^.typedef,tempinfo^.location.reference);