mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 07:47:59 +02:00
* volatile syms should never be regable
git-svn-id: trunk@42308 -
This commit is contained in:
parent
98f55b1d86
commit
6b97c712f6
@ -1701,6 +1701,8 @@ implementation
|
||||
|
||||
procedure tabstractvarsym.setregable;
|
||||
begin
|
||||
if vo_volatile in varoptions then
|
||||
exit;
|
||||
{ can we load the value into a register ? }
|
||||
if not assigned(owner) or
|
||||
(owner.symtabletype in [localsymtable, parasymtable]) or
|
||||
|
Loading…
Reference in New Issue
Block a user