Use lj_vm_tobit() on targets without FPU.

This commit is contained in:
Mike Pall
2011-04-10 16:57:09 +02:00
parent f089f3954c
commit 89022b4c3e
3 changed files with 12 additions and 3 deletions

View File

@@ -31,6 +31,9 @@ LJ_ASMF double lj_vm_foldarith(double x, double y, int op);
#if LJ_HASJIT
LJ_ASMF double lj_vm_foldfpm(double x, int op);
#endif
#if !LJ_ARCH_HASFPU
/* Declared in lj_obj.h: LJ_ASMF int32_t lj_vm_tobit(double x); */
#endif
/* Dispatch targets for recording and hooks. */
LJ_ASMF void lj_vm_record(void);