Procházet zdrojové kódy

* fixed thlcgcpu.g_exception_reason_save_const always generating a 286+ push
instruction on i8086, regardless of current cpu level

git-svn-id: trunk@30352 -

nickysn před 10 roky
rodič
revize
003b283e55
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/i8086/hlcgcpu.pas

+ 1 - 1
compiler/i8086/hlcgcpu.pas

@@ -413,7 +413,7 @@ implementation
   procedure thlcgcpu.g_exception_reason_save_const(list: TAsmList; size: tdef; a: tcgint; const href: treference);
     begin
       if not paramanager.use_fixed_stack then
-        list.concat(Taicpu.op_const(A_PUSH,tcgsize2opsize[def_cgsize(size)],a))
+        tcg8086(cg).push_const(list,def_cgsize(size),a)
       else
         inherited;
     end;