summaryrefslogtreecommitdiff
path: root/compiler/ncgbas.pas
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ncgbas.pas')
-rw-r--r--compiler/ncgbas.pas4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/ncgbas.pas b/compiler/ncgbas.pas
index 8161472ee8..b8880bfba1 100644
--- a/compiler/ncgbas.pas
+++ b/compiler/ncgbas.pas
@@ -490,8 +490,6 @@ interface
case tempinfo^.location.loc of
LOC_REFERENCE:
begin
- inc(location.reference.offset,offset);
- location.reference.alignment:=newalignment(location.reference.alignment,offset);
{ ti_valid should be excluded if it's a normal temp }
end;
LOC_REGISTER,
@@ -516,8 +514,6 @@ interface
tg.ChangeTempType(current_asmdata.CurrAsmList,tempinfo^.location.reference,tempinfo^.temptype);
{ adapt location }
location.reference := ref;
- inc(location.reference.offset,offset);
- location.reference.alignment:=newalignment(location.reference.alignment,offset);
end;