[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #756: inline call to known variable if its value refe
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #756: inline call to known variable if its value refers to an intrinsic |
Date: |
Sat, 17 Dec 2011 16:40:01 -0000 |
#756: inline call to known variable if its value refers to an intrinsic
--------------------------------+-------------------------------------------
Reporter: felix | Owner: felix
Type: enhancement | Status: new
Priority: not urgent at all | Milestone:
Component: compiler | Version: 4.7.x
Keywords: inlining intrinsic |
--------------------------------+-------------------------------------------
For example:
{{
(define foo +)
(print (foo 3 4))
}}
should completely constant-fold the expression.
`foo` has a known value of `(##core#variable +)`, and `+` is an intrinsic.
--
Ticket URL: <https://bugs.call-cc.org/ticket/756>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #756: inline call to known variable if its value refers to an intrinsic,
Chicken Trac <=