mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-13 15:57:36 +02:00
Issue #194 - Disable inline define-c's for now
This commit is contained in:
parent
a02af12dce
commit
498fa6f54e
2 changed files with 8 additions and 5 deletions
|
@ -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); ")
|
||||
|
|
|
@ -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)"
|
||||
|
|
Loading…
Add table
Reference in a new issue