Kill names and decoration in inlining.
authorSteven Perron <stevenperron@google.com>
Thu, 7 Dec 2017 03:09:20 +0000 (22:09 -0500)
committerSteven Perron <stevenperron@google.com>
Thu, 7 Dec 2017 17:20:45 +0000 (12:20 -0500)
commit851e1ad98597bfed5f9e7b0496b92411ea7f1c35
treef29066fa970c13907bb88798a13ed6011e233e98
parent731d1899b19bc5151ca5460a627d2f5cdb2dd5d3
Kill names and decoration in inlining.

Currently when inlining a call, the name and decorations for the result of the
call is not deleted.  This should be changed.  Added a test for this as well.

This fixes issue #622.
source/opt/inline_exhaustive_pass.cpp
test/opt/inline_test.cpp