add pet_substituter
commit34025e1ee7de354afc14a6c2340456814c8b481a
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 14 Aug 2015 13:41:51 +0000 (14 15:41 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 2 Nov 2015 14:06:04 +0000 (2 15:06 +0100)
treeedddcbfd6f11579cdcf99b44a1fbb4c707b3e732
parent2e76b2c1bbe9846b8a300685bc6dfdf7352c6252
add pet_substituter

A pet_substituter keeps track of a number of identifiers that need
to be replaced by an (address of an) access expression and applies
the substitutions to a pet_tree.
This will be useful for renaming, where an old name is substituted
by an access to the new name, and later on also for inlining.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Makefile.am
substituter.cc [new file with mode: 0644]
substituter.h [new file with mode: 0644]