Opened 9 years ago

Closed 9 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 9 years ago by felix winkelmann

Priority: not urgent at allminor

comment:2 Changed 9 years ago by felix winkelmann

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.