mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 11:06:19 +02:00
* use .create_nil_codeptr instead of .create_pint(0) for writing the placeholder
address of implementation field in tobjcrttiwriter.gen_objc_cat_methods git-svn-id: trunk@34705 -
This commit is contained in:
parent
9669e5aa00
commit
501b9481c5
@ -541,7 +541,7 @@ begin
|
|||||||
tcb.emit_tai(Tai_const.Create_sym(lab),ldef);
|
tcb.emit_tai(Tai_const.Create_sym(lab),ldef);
|
||||||
{ placeholder for address of implementation? }
|
{ placeholder for address of implementation? }
|
||||||
if (abi=oa_nonfragile) then
|
if (abi=oa_nonfragile) then
|
||||||
tcb.emit_tai(Tai_const.Create_pint(0),ptruinttype);
|
tcb.emit_tai(Tai_const.Create_nil_codeptr,codeptruinttype);
|
||||||
end;
|
end;
|
||||||
list.concatList(
|
list.concatList(
|
||||||
tcb.get_final_asmlist(
|
tcb.get_final_asmlist(
|
||||||
|
Loading…
Reference in New Issue
Block a user