Whitespace cleanup and comment out unused parameter

--HG--
extra : convert_revision : eb6ff4c45ba4edebad7f79fac7f13504f4140482
This commit is contained in:
Rick Reitmaier 2010-11-01 16:20:22 -07:00
parent 506090019f
commit 5127a7e46b
6 changed files with 10 additions and 10 deletions

View File

@ -271,7 +271,7 @@ verbose_only( extern const char* shiftNames[]; )
void underrunProtect(int bytes); \
void nativePageReset(); \
void nativePageSetup(); \
bool hardenNopInsertion(const Config& c) { return false; } \
bool hardenNopInsertion(const Config& /*c*/) { return false; } \
void asm_immd_nochk(Register, int32_t, int32_t); \
void asm_regarg(ArgType, LIns*, Register); \
void asm_stkarg(LIns* p, int stkd); \

View File

@ -242,7 +242,7 @@ namespace nanojit {
void nativePageSetup(void); \
void nativePageReset(void); \
void underrunProtect(int bytes); \
bool hardenNopInsertion(const Config& c) { return false; } \
bool hardenNopInsertion(const Config& /*c*/) { return false; } \
NIns *_nSlot; \
NIns *_nExitSlot; \
int max_out_args; \

View File

@ -61,7 +61,7 @@ namespace nanojit
#define NJ_EXPANDED_LOADSTORE_SUPPORTED 0
#define NJ_F2I_SUPPORTED 0
#define NJ_SOFTFLOAT_SUPPORTED 0
#define NJ_DIVI_SUPPORTED 0
#define NJ_DIVI_SUPPORTED 0
enum ConditionRegister {
CR0 = 0,
@ -295,7 +295,7 @@ namespace nanojit
void underrunProtect(int bytes); \
void nativePageReset(); \
void nativePageSetup(); \
bool hardenNopInsertion(const Config& c) { return false; } \
bool hardenNopInsertion(const Config& /*c*/) { return false; } \
void br(NIns *addr, int link); \
void br_far(NIns *addr, int link); \
void asm_regarg(ArgType, LIns*, Register); \

View File

@ -167,7 +167,7 @@ namespace nanojit
void nativePageReset(); \
void nativePageSetup(); \
void underrunProtect(int); \
bool hardenNopInsertion(const Config& c) { return false; } \
bool hardenNopInsertion(const Config& /*c*/) { return false; } \
bool simplifyOpcode(LOpcode &); \
\
NIns *asm_immi(int, Register, bool force = false); \

View File

@ -80,7 +80,7 @@ namespace nanojit
#define NJ_EXPANDED_LOADSTORE_SUPPORTED 0
#define NJ_F2I_SUPPORTED 1
#define NJ_SOFTFLOAT_SUPPORTED 0
#define NJ_DIVI_SUPPORTED 0
#define NJ_DIVI_SUPPORTED 0
const int NJ_ALIGN_STACK = 16;
@ -208,7 +208,7 @@ namespace nanojit
void nativePageReset(); \
void nativePageSetup(); \
void underrunProtect(int bytes); \
bool hardenNopInsertion(const Config& c) { return false; } \
bool hardenNopInsertion(const Config& /*c*/) { return false; } \
void asm_align_code(); \
void asm_cmp(LIns *cond); \
void asm_cmpd(LIns *cond); \

View File

@ -67,7 +67,7 @@ namespace nanojit
#define NJ_EXPANDED_LOADSTORE_SUPPORTED 1
#define NJ_F2I_SUPPORTED 1
#define NJ_SOFTFLOAT_SUPPORTED 0
#define NJ_DIVI_SUPPORTED 1
#define NJ_DIVI_SUPPORTED 1
static const Register RAX = { 0 }; // 1st int return, # of sse varargs
static const Register RCX = { 1 }; // 4th int arg
@ -321,7 +321,7 @@ namespace nanojit
X64_jmpx = 0xC524ff4000000004LL, // jmp [d32+x*8]
X64_jmpxb = 0xC024ff4000000004LL, // jmp [b+x*8]
X64_movqmi = 0x80C7480000000003LL, // 32bit signed extended to 64-bit store imm -> qword ptr[b+disp32]
X64_movqmi = 0x80C7480000000003LL, // 32bit signed extended to 64-bit store imm -> qword ptr[b+disp32]
X64_movlmi = 0x80C7400000000003LL, // 32bit store imm -> dword ptr[b+disp32]
X64_movsmi = 0x80C7406600000004LL, // 16bit store imm -> word ptr[b+disp32]
X64_movbmi = 0x80C6400000000003LL, // 8bit store imm -> byte ptr[b+disp32]
@ -373,7 +373,7 @@ namespace nanojit
void underrunProtect(ptrdiff_t bytes); \
void nativePageReset(); \
void nativePageSetup(); \
bool hardenNopInsertion(const Config& c) { return false; } \
bool hardenNopInsertion(const Config& /*c*/) { return false; } \
void asm_qbinop(LIns*); \
void MR(Register, Register);\
void JMP(NIns*);\