Use ir_variable::clone to copy parameters to the function body
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 1 Apr 2010 00:54:26 +0000 (17:54 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 1 Apr 2010 00:54:26 +0000 (17:54 -0700)
commite29a5859891eb9e1587396dea0e8010f7d88f68c
tree4de5f769931784b05916d0f6d9c1ce81f640fe36
parent2d394d4877794d19756c3760d711524dca89f772
Use ir_variable::clone to copy parameters to the function body

Several other code movements were also done.  This partitions this
function into two halves.  The first half processes the prototype
part, and the second have processes the actual function definition.
The coming patch series will parition ast_function_definition::hir
into (at least) two separate functions.
ast_to_hir.cpp