mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-02-06 20:30:15 +00:00
generate function exit cop with profiling / pragma debug 4. Expected by prizm.
This commit is contained in:
parent
bfb929f4a7
commit
dbfa542fba
4
Gen.pas
4
Gen.pas
@ -5061,8 +5061,8 @@ procedure GenTree {op: icptr};
|
||||
if namePushed then
|
||||
GenCall(2);
|
||||
|
||||
{generate an exit code for the debugger's benefit}
|
||||
if debugFlag then
|
||||
{generate an exit code for the debugger/profiler's benefit}
|
||||
if debugFlag or profileFlag then
|
||||
GenNative(m_cop, immediate, 4, nil, 0);
|
||||
|
||||
{if anything needs to be removed from the stack, move the return val}
|
||||
|
Loading…
x
Reference in New Issue
Block a user