diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-14 23:03:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-14 23:03:46 +0000 |
commit | 8abe1a11b425c8876ebd7579e50de2b8bb10d9c3 (patch) | |
tree | 89e2798a4d467c39e5124fee0decea09cc10dfda /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 7e40f4f9c50bd1d234d3ecb6f6af42bfca33dcd0 (diff) | |
download | bcm5719-llvm-8abe1a11b425c8876ebd7579e50de2b8bb10d9c3.tar.gz bcm5719-llvm-8abe1a11b425c8876ebd7579e50de2b8bb10d9c3.zip |
** Finally DeclareNewGlobalValue is dead!
* Simplify a lot of code because type's cannot be in function symbol tables
* Fix memory leaks in handling of redefined function prototypes
* Don't use SymbolTable directly for stuff that we can go through the Module
for.
* Fix some minor bugs on obscure testcases like:
test/Feature/globalredefinition.ll
* Do not create GlobalVariable objects for forward referenced Functions!
* When forward referencing a function in a constant expression, do not create
a placeholder, add a bunch of references to it, then turn around and
replaceAllUsesOfWith on it with a new global, deleting the placeholder.
Instead, when we find the real definition of the global, just use the
placeholder instead of creating a new object.
This substantially simplifies the asmwriter and should even speed it up on
cases heavy in constantexprs (like C++, Java, MSIL)...
llvm-svn: 14830
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions