|
@@ -67,7 +67,11 @@ implementation
|
|
|
Alignment must be the max available, as doubles require
|
|
|
8 byte alignment
|
|
|
}
|
|
|
- result:=Align(tg.direction*tg.lasttemp+maxpushedparasize+target_info.first_parm_offset,current_settings.alignment.localalignmax);
|
|
|
+ if (po_assembler in procdef.procoptions) or
|
|
|
+ (po_nostackframe in procdef.procoptions) then
|
|
|
+ result:=Align(tg.direction*tg.lasttemp+maxpushedparasize,current_settings.alignment.localalignmax)
|
|
|
+ else
|
|
|
+ result:=Align(tg.direction*tg.lasttemp+maxpushedparasize+target_info.first_parm_offset,current_settings.alignment.localalignmax);
|
|
|
end;
|
|
|
|
|
|
|