From 9a0c1f50e927fda4b0c62ea4b5db7dd91f00f958 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sun, 25 May 2003 09:27:13 +0000 Subject: [PATCH] - undid previous patch, it was not necessary and on top of that, it contained a bug :/ --- compiler/ncgcnv.pas | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/compiler/ncgcnv.pas b/compiler/ncgcnv.pas index e60c95e30d..4c8cf00614 100644 --- a/compiler/ncgcnv.pas +++ b/compiler/ncgcnv.pas @@ -93,20 +93,18 @@ interface if (ressize<>leftsize) and not is_void(left.resulttype.def) then begin + location_copy(location,left.location); { reuse a loc_reference when the newsize is smaller than than the original, else load it to a register } if (location.loc in [LOC_REFERENCE,LOC_CREFERENCE]) and (ressize