Opened 14 years ago
Closed 14 years ago
#756 closed enhancement (fixed)
inline call to known variable if its value refers to an intrinsic
| Reported by: | felix winkelmann | Owned by: | felix winkelmann |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | compiler | Version: | 4.7.x |
| Keywords: | inlining intrinsic | Cc: | |
| Estimated difficulty: |
Description
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.
Change History (2)
comment:1 Changed 14 years ago by
| Priority: | not urgent at all → minor |
|---|
comment:2 Changed 14 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
