Removed lints
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "dcc.h"
|
||||
#include "disassem.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -75,14 +76,8 @@ void FrontEnd (char *filename, CALL_GRAPH * *pcallGraph)
|
||||
}
|
||||
|
||||
/* Search through code looking for impure references and flag them */
|
||||
#ifdef _lint
|
||||
for (auto i=pProcList.begin(); i!=pProcList.end(); ++i)
|
||||
{
|
||||
Function &f(*i);
|
||||
#else
|
||||
for(Function &f : pProcList)
|
||||
{
|
||||
#endif
|
||||
f.markImpure();
|
||||
if (option.asm1)
|
||||
disassem(1, &f);
|
||||
@@ -93,14 +88,8 @@ void FrontEnd (char *filename, CALL_GRAPH * *pcallGraph)
|
||||
}
|
||||
|
||||
/* Converts jump target addresses to icode offsets */
|
||||
#ifdef _lint
|
||||
for (auto i=pProcList.begin(); i!=pProcList.end(); ++i)
|
||||
{
|
||||
Function &f(*i);
|
||||
#else
|
||||
for(Function &f : pProcList)
|
||||
{
|
||||
#endif
|
||||
f.bindIcodeOff();
|
||||
}
|
||||
/* Print memory bitmap */
|
||||
|
||||
Reference in New Issue
Block a user