Procházet zdrojové kódy

* use SizeInt instead of PtrInt for the stack area size (this both matches the declaration in TypInfo as well as enough on 16-bit targets like i8086)

Sven/Sarah Barth před 1 rokem
rodič
revize
a4121d2201
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/ncgrtti.pas

+ 1 - 1
compiler/ncgrtti.pas

@@ -267,7 +267,7 @@ implementation
                       maybe_add_comment(tcb,#9'param count');
                       tcb.emit_ord_const(def.paras.count,u16inttype);
                       maybe_add_comment(tcb,#9'caller args size');
-                      tcb.emit_ord_const(def.callerargareasize,ptrsinttype);
+                      tcb.emit_ord_const(def.callerargareasize,sizesinttype);
                       maybe_add_comment(tcb,#9'invoke helper');
                       if def.invoke_helper=nil then
                         tcb.emit_tai(Tai_const.Create_nil_dataptr,voidcodepointertype)