瀏覽代碼

* Enabled safecall for mips.

git-svn-id: trunk@26709 -
yury 11 年之前
父節點
當前提交
c58340f8dd
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      compiler/fpcdefs.inc
  2. 1 0
      compiler/mips/cpuinfo.pas

+ 1 - 0
compiler/fpcdefs.inc

@@ -224,6 +224,7 @@
   {$define cpurefshaveindexreg}
   {$define fpc_compiler_has_fixup_jmps}
   {$define SUPPORT_GET_FRAME}
+  {$define SUPPORT_SAFECALL}
 {$endif mips}
 
 {$ifdef jvm}

+ 1 - 0
compiler/mips/cpuinfo.pas

@@ -63,6 +63,7 @@ Const
    supported_calling_conventions : tproccalloptions = [
      pocall_internproc,
      pocall_stdcall,
+     pocall_safecall,
      { same as stdcall only different name mangling }
      pocall_cdecl,
      { same as stdcall only different name mangling }