File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -148,12 +148,6 @@ implementation
148148 ppu file }
149149 if df_generic in current_procinfo.procdef.defoptions then
150150 exit;
151- if pi_has_assembler_block in current_procinfo.flags then
152- begin
153- Message1(parser_h_not_supported_for_inline,' assembler' );
154- Message(parser_h_inlining_disabled);
155- exit;
156- end ;
157151 if pi_has_global_goto in current_procinfo.flags then
158152 begin
159153 Message1(parser_h_not_supported_for_inline,' global goto' );
Original file line number Diff line number Diff line change @@ -5743,8 +5743,11 @@ if (tstoreddef(tfieldvarsym(symtable.symlist[i]).vardef).typ=rec
57435743 (tf_need_export in target_info.flags) and
57445744 (po_exports in procoptions) then
57455745 deffile.AddExport(mangledname);
5746- { Disable po_has_inlining until the derefimpl is done }
5747- has_inlininginfo:=false;
5746+ { Disable po_has_inlining until the derefimpl is done.
5747+ Assembler procedures don't need derefimpl since
5748+ their asm nodes have no Pascal symbol references }
5749+ if not (po_assembler in procoptions) then
5750+ has_inlininginfo:=false;
57485751 end ;
57495752
57505753
You can’t perform that action at this time.
0 commit comments