Issue #194 - Disable inline define-c's for now

This commit is contained in:
Justin Ethier 2017-04-12 18:01:33 -04:00
parent a02af12dce
commit 498fa6f54e
2 changed files with 8 additions and 5 deletions

View file

@ -1069,12 +1069,14 @@
(define-c ceiling
"(void *data, int argc, closure _, object k, object z)"
" return_exact_double_op(data, k, ceil, z); ")
;TODO: working on define-c:inline macro to make it less verbose to do this
;TODO: working on define-c:inline macro to make it less verbose to do this
(define-c truncate
"(void *data, int argc, closure _, object k, object z)"
" return_exact_double_op(data, k, (int), z); "
"(void *data, object ptr, object z)"
" return_exact_double_op_no_cps(data, ptr, (int), z);")
;; TODO: this inline form is not stable yet, will crash the gcbench benchmark
;"(void *data, object ptr, object z)"
;" return_exact_double_op_no_cps(data, ptr, (int), z);"
)
(define-c round
"(void *data, int argc, closure _, object k, object z)"
" return_exact_double_op(data, k, round, z); ")

View file

@ -69,8 +69,9 @@
(define-c c-log
"(void *data, int argc, closure _, object k, object z)"
" return_inexact_double_op(data, k, log, z);"
"(void *data, object ptr, object z)"
" return_inexact_double_op_no_cps(data, ptr, log, z);"
;; TODO: this inline form is not stable yet
;"(void *data, object ptr, object z)"
;" return_inexact_double_op_no_cps(data, ptr, log, z);"
)
(define-c sin
"(void *data, int argc, closure _, object k, object z)"