mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
Avoid defining dead result
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28246 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -675,9 +675,9 @@ StackerCompiler::handle_definition( char * name, Function* f )
|
|||||||
{
|
{
|
||||||
// Look up the function name in the module to see if it was forward
|
// Look up the function name in the module to see if it was forward
|
||||||
// declared.
|
// declared.
|
||||||
|
#if 0
|
||||||
Function* existing_function = TheModule->getNamedFunction( name );
|
Function* existing_function = TheModule->getNamedFunction( name );
|
||||||
|
|
||||||
#if 0
|
|
||||||
// If the function already exists...
|
// If the function already exists...
|
||||||
if ( existing_function )
|
if ( existing_function )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user