mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 04:29:26 +02:00
* add explicit check that argument of sizeof(x) is a simple load node (this
was already assumed later on) git-svn-id: trunk@29816 -
This commit is contained in:
parent
b8c8ef8489
commit
68303b8df1
@ -2631,6 +2631,10 @@ implementation
|
||||
if (left.resultdef.typ<>undefineddef) and
|
||||
paramanager.push_high_param(vs_value,left.resultdef,current_procinfo.procdef.proccalloption) then
|
||||
begin
|
||||
{ this should be an open array or array of const, both of
|
||||
which can only be simple load nodes of parameters }
|
||||
if left.nodetype<>loadn then
|
||||
internalerror(2014120701);
|
||||
hightree:=load_high_value_node(tparavarsym(tloadnode(left).symtableentry));
|
||||
if assigned(hightree) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user