|
@@ -776,6 +776,7 @@ implementation
|
|
or
|
|
or
|
|
- Delphi mode
|
|
- Delphi mode
|
|
- assembler directive
|
|
- assembler directive
|
|
|
|
+ - no cs_generate_stackframes in localswitches
|
|
- no pushes are used/esp modifications, could be:
|
|
- no pushes are used/esp modifications, could be:
|
|
* outgoing parameters on the stack
|
|
* outgoing parameters on the stack
|
|
* incoming parameters on the stack
|
|
* incoming parameters on the stack
|
|
@@ -783,6 +784,7 @@ implementation
|
|
- no local variables
|
|
- no local variables
|
|
}
|
|
}
|
|
if ((po_assembler in procdef.procoptions) and
|
|
if ((po_assembler in procdef.procoptions) and
|
|
|
|
+ not(cs_generate_stackframes in current_settings.localswitches) and
|
|
(m_delphi in current_settings.modeswitches) and
|
|
(m_delphi in current_settings.modeswitches) and
|
|
(tabstractlocalsymtable(procdef.localst).count_locals = 0)) or
|
|
(tabstractlocalsymtable(procdef.localst).count_locals = 0)) or
|
|
((cs_opt_stackframe in current_settings.optimizerswitches) and
|
|
((cs_opt_stackframe in current_settings.optimizerswitches) and
|