Răsfoiți Sursa

* allow pocall_internproc to be declared external (-> we can declare the
overloads for several routines that conflict on the JVM target because
their parameter types are encoded into the same signature simply as
external, e.g. swap, swapendian, odd, sqr, ...)

git-svn-id: branches/jvmbackend@18823 -

Jonas Maebe 14 ani în urmă
părinte
comite
ea544f01c4
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      compiler/pdecsub.pas

+ 1 - 1
compiler/pdecsub.pas

@@ -1958,7 +1958,7 @@ const
       handler  : @pd_external;
       pocall   : pocall_none;
       pooption : [po_external];
-      mutexclpocall : [pocall_internproc,pocall_syscall];
+      mutexclpocall : [pocall_syscall];
       { allowed for external cpp classes }
       mutexclpotype : [{potype_constructor,potype_destructor}potype_class_constructor,potype_class_destructor];
       mutexclpo     : [po_public,po_exports,po_interrupt,po_assembler,po_inline]