summaryrefslogtreecommitdiff
path: root/src/lj_vmmath.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_vmmath.c')
-rw-r--r--src/lj_vmmath.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lj_vmmath.c b/src/lj_vmmath.c
index 1416b600..9b2235f3 100644
--- a/src/lj_vmmath.c
+++ b/src/lj_vmmath.c
@@ -10,9 +10,7 @@
10#include <math.h> 10#include <math.h>
11 11
12#include "lj_obj.h" 12#include "lj_obj.h"
13#if LJ_HASJIT || LJ_TARGET_MIPS
14#include "lj_ir.h" 13#include "lj_ir.h"
15#endif
16#include "lj_vm.h" 14#include "lj_vm.h"
17 15
18/* -- Helper functions for generated machine code ------------------------- */ 16/* -- Helper functions for generated machine code ------------------------- */
@@ -24,7 +22,7 @@ LJ_FUNCA double lj_vm_cosh(double x) { return cosh(x); }
24LJ_FUNCA double lj_vm_tanh(double x) { return tanh(x); } 22LJ_FUNCA double lj_vm_tanh(double x) { return tanh(x); }
25#endif 23#endif
26 24
27#if LJ_TARGET_MIPS 25#if !LJ_TARGET_X86ORX64
28double lj_vm_foldarith(double x, double y, int op) 26double lj_vm_foldarith(double x, double y, int op)
29{ 27{
30 switch (op) { 28 switch (op) {