Opened 7 years ago

Closed 7 years ago

#756 closed enhancement (fixed)

inline call to known variable if its value refers to an intrinsic

Reported by: felix Owned by: felix
Priority: minor Milestone:
Component: compiler Version: 4.7.x
Keywords: inlining intrinsic Cc:
Estimated difficulty:


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

  • Priority changed from not urgent at all to minor

comment:2 Changed 7 years ago by felix

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.