Opened 5 years ago

Closed 4 months ago

#1642 closed defect (wontfix)

replace "params" slot in nodes of intermediate representation

Reported by: felix winkelmann Owned by:
Priority: not urgent at all Milestone: someday
Component: compiler Version: 5.1.0
Keywords: Cc: sjamaan
Estimated difficulty: hard

Description

Currently the nodes in the intermediate representation collect various information in a list ("node params"). This is error-prone and probably inefficient. It should be replaced by something safer. Since there are quite a number of node types, defining record for each and every node will probably result in code-bloat, so I suggest either a vector or some syntax-only lightweight quasi-structure facility.

The params will be printed when intermediate stage results are shown via the -debug option, so a readable representation (or something that can be converted to a readable representation) is desirable.

Change History (1)

comment:1 Changed 4 months ago by felix winkelmann

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