aboutsummaryrefslogtreecommitdiff
path: root/tests/escapei_double.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/escapei_double.c')
-rw-r--r--tests/escapei_double.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/escapei_double.c b/tests/escapei_double.c
index 7eb9a27..8406490 100644
--- a/tests/escapei_double.c
+++ b/tests/escapei_double.c
@@ -33,7 +33,7 @@ int main(int argc, char *argv[])
EJIT_OPERAND_GPR(0, EJIT_INT32),
EJIT_OPERAND_FPR(0, EJIT_DOUBLE)
};
- ejit_escapei_f(f, escape_func, 2, args);
+ ejit_escapei_d(f, escape_func, 2, args);
ejit_retval_d(f, EJIT_FPR(0));
ejit_retr_d(f, EJIT_FPR(0));
@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
double d = 22.0f;
int32_t i = 20;
- assert(erff2(f, EJIT_ARG(&i, void *), EJIT_ARG(&d, void *)) == 42.0f);
+ assert(erfd2(f, EJIT_ARG(&i, void *), EJIT_ARG(&d, void *)) == 42.0f);
ejit_destroy_func(f);
}