mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 12:49:33 +02:00
* i8086: Removed internal error, since global vars can be in registers if used only in pascalmain.
git-svn-id: trunk@45845 -
This commit is contained in:
parent
6edbc9ed7e
commit
b1b9d1f341
@ -211,9 +211,8 @@ implementation
|
||||
(not (vo_is_external in gvs.varoptions) and gvs.Owner.iscurrentunit) then
|
||||
begin
|
||||
inherited pass_generate_code;
|
||||
if (location.loc<>LOC_REFERENCE) and (location.loc<>LOC_CREFERENCE) then
|
||||
internalerror(2017121101);
|
||||
location.reference.segment:=NR_DS;
|
||||
if location.loc in [LOC_REFERENCE,LOC_CREFERENCE] then
|
||||
location.reference.segment:=NR_DS;
|
||||
exit;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user