ARM/PPC: Remove assembler code for lj_vm_foldarith().

This commit is contained in:
Mike Pall
2012-06-12 17:25:52 +02:00
parent 46dc6d347c
commit c2159f8624
3 changed files with 1 additions and 102 deletions

View File

@@ -10,9 +10,7 @@
#include <math.h>
#include "lj_obj.h"
#if LJ_HASJIT || LJ_TARGET_MIPS
#include "lj_ir.h"
#endif
#include "lj_vm.h"
/* -- Helper functions for generated machine code ------------------------- */
@@ -24,7 +22,7 @@ LJ_FUNCA double lj_vm_cosh(double x) { return cosh(x); }
LJ_FUNCA double lj_vm_tanh(double x) { return tanh(x); }
#endif
#if LJ_TARGET_MIPS
#if !LJ_TARGET_X86ORX64
double lj_vm_foldarith(double x, double y, int op)
{
switch (op) {