Browse Source

PPC: Fix math.deg/rad() fast functions.

Mike Pall 15 years ago
parent
commit
443d28bc9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/buildvm_ppc.dasc

+ 1 - 1
src/buildvm_ppc.dasc

@@ -1303,7 +1303,7 @@ static void build_subroutines(BuildCtx *ctx)
   |  math_extern2 fmod
   |  math_extern2 fmod
   |
   |
   |->ff_math_deg:
   |->ff_math_deg:
-  |.ffunc_1 math_rad
+  |.ffunc_n math_rad
   |  evldd CARG2, CFUNC:RB->upvalue[0]
   |  evldd CARG2, CFUNC:RB->upvalue[0]
   |  efdmul CRET1, CARG1, CARG2
   |  efdmul CRET1, CARG1, CARG2
   |  b ->fff_restv
   |  b ->fff_restv