Add a virtual clone() method to ir_instruction.
authorEric Anholt <eric@anholt.net>
Wed, 23 Jun 2010 18:37:12 +0000 (11:37 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 23 Jun 2010 22:20:29 +0000 (15:20 -0700)
commit4b6fd39c89f308a379882426c1ed3616d60c4628
tree2c8f6f7e2e3eae5922a91c61a686457c614068fe
parent02fc4b34e40f655eebc99f6502293b4d4000e0b3
Add a virtual clone() method to ir_instruction.

This will be used by function inlining, the linker, and avoiding double
usage of the LHS deref chains in ++, *=, and similar operations.
Makefile.am
ast_to_hir.cpp
ir.cpp
ir.h
ir_clone.cpp [new file with mode: 0644]
ir_constant_expression.cpp
ir_function_inlining.cpp
ir_print_visitor.cpp
ir_reader.cpp
linker.cpp