mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-23 20:05:32 +02:00
Add compiler support for fixnum? primcall predicate
* module/language/cps/compile-bytecode.scm (compile-function): * module/language/cps/type-fold.scm (fixnum?): * module/language/cps/types.scm (fixnum?): * module/system/vm/assembler.scm (system): Add cases for fixnum? primcall predicate.
This commit is contained in:
parent
79a2748f83
commit
31e7f44340
4 changed files with 18 additions and 1 deletions
|
@ -442,6 +442,7 @@
|
|||
(($ $primcall 'bitvector? (a)) (unary emit-bitvector? a))
|
||||
(($ $primcall 'keyword? (a)) (unary emit-keyword? a))
|
||||
(($ $primcall 'heap-number? (a)) (unary emit-heap-number? a))
|
||||
(($ $primcall 'fixnum? (a)) (unary emit-fixnum? a))
|
||||
;; Add more TC7 tests here. Keep in sync with
|
||||
;; *branching-primcall-arities* in (language cps primitives) and
|
||||
;; the set of macro-instructions in assembly.scm.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue