mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 15:09:20 +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
|
(not (vo_is_external in gvs.varoptions) and gvs.Owner.iscurrentunit) then
|
||||||
begin
|
begin
|
||||||
inherited pass_generate_code;
|
inherited pass_generate_code;
|
||||||
if (location.loc<>LOC_REFERENCE) and (location.loc<>LOC_CREFERENCE) then
|
if location.loc in [LOC_REFERENCE,LOC_CREFERENCE] then
|
||||||
internalerror(2017121101);
|
location.reference.segment:=NR_DS;
|
||||||
location.reference.segment:=NR_DS;
|
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user