Replace some tabs with spaces

This commit is contained in:
nemerle
2016-05-06 15:04:45 +02:00
parent 152625d67d
commit 59c199837c
13 changed files with 55 additions and 54 deletions

View File

@@ -241,7 +241,7 @@ struct GlobalVariable : public AstIdent
struct GlobalVariableIdx : public AstIdent
{
bool valid;
int idxGlbIdx; /* idx into localId, GLOB_VAR_IDX */
int idxGlbIdx; /* idx into localId, GLOB_VAR_IDX */
virtual Expr *clone() const
{
@@ -255,9 +255,9 @@ struct GlobalVariableIdx : public AstIdent
struct Constant : public AstIdent
{
struct _kte
{ /* for CONSTANT only */
uint32_t kte; /* value of the constant */
uint8_t size; /* #bytes size constant */
{ /* for CONSTANT only */
uint32_t kte; /* value of the constant */
uint8_t size; /* #bytes size constant */
} kte;
Constant(uint32_t _kte, uint8_t size)
@@ -276,7 +276,7 @@ struct Constant : public AstIdent
};
struct FuncNode : public AstIdent
{
struct _call { /* for FUNCTION only */
struct _call { /* for FUNCTION only */
Function *proc;
STKFRAME *args;
} call;
@@ -297,8 +297,8 @@ struct FuncNode : public AstIdent
struct RegisterNode : public AstIdent
{
const LOCAL_ID *m_syms;
regType regiType; /* for REGISTER only */
int regiIdx; /* index into localId, REGISTER */
regType regiType; /* for REGISTER only */
int regiIdx; /* index into localId, REGISTER */
virtual Expr *insertSubTreeReg(Expr *_expr, eReg regi, const LOCAL_ID *locsym);

View File

@@ -36,7 +36,7 @@ public:
};
extern bundle cCode;
#define lineSize 360 /* 3 lines in the mean time */
#define lineSize 360 /* 3 lines in the mean time */
//void newBundle (bundle *procCode);
void writeBundle (QIODevice & ios, bundle procCode);

View File

@@ -23,11 +23,11 @@
#include "BasicBlock.h"
class Project;
/* CALL GRAPH NODE */
extern bundle cCode; /* Output C procedure's declaration and code */
extern bundle cCode; /* Output C procedure's declaration and code */
/**** Global variables ****/
extern QString asm1_name, asm2_name; /* Assembler output filenames */
extern QString asm1_name, asm2_name; /* Assembler output filenames */
typedef struct { /* Command line option flags */
unsigned verbose : 1;
@@ -38,7 +38,7 @@ typedef struct { /* Command line option flags */
unsigned Stats : 1;
unsigned Interact : 1; /* Interactive mode */
unsigned Calls : 1; /* Follow register indirect calls */
QString filename; /* The input filename */
QString filename; /* The input filename */
uint32_t CustomEntryPoint;
} OPTION;
@@ -60,13 +60,13 @@ enum eAreaType
/* Intermediate instructions statistics */
struct STATS
{
int numBBbef; /* number of basic blocks initially */
int numBBaft; /* number of basic blocks at the end */
int nOrder; /* n-th order */
int numLLIcode; /* number of low-level Icode instructions */
int numHLIcode; /* number of high-level Icode instructions */
int totalLL; /* total number of low-level Icode insts */
int totalHL; /* total number of high-level Icod insts */
int numBBbef; /* number of basic blocks initially */
int numBBaft; /* number of basic blocks at the end */
int nOrder; /* n-th order */
int numLLIcode; /* number of low-level Icode instructions */
int numHLIcode; /* number of high-level Icode instructions */
int totalLL; /* total number of low-level Icode insts */
int totalHL; /* total number of high-level Icod insts */
};
extern STATS stats; /* Icode statistics */