Переглянути джерело

* 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 1 рік тому
батько
коміт
a4121d2201
1 змінених файлів з 1 додано та 1 видалено
  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)