Add uppercase -D for define without separate argument
This commit is contained in:
parent
cd7567452a
commit
94181326ca
|
@ -23835,7 +23835,7 @@ bool NativeCodeBasicBlock::JoinTailCodeSequences(NativeCodeProcedure* proc, bool
|
|||
mTrueJump->mIns.Remove(0);
|
||||
mTrueJump->mEntryRequiredRegs += CPU_REG_A;
|
||||
|
||||
if (mTrueJump->mIns[0].mLive & LIVE_CPU_REG_Z)
|
||||
if (mTrueJump->mIns.Size() > 0 && (mTrueJump->mIns[0].mLive & LIVE_CPU_REG_Z))
|
||||
mTrueJump->mEntryRequiredRegs += CPU_REG_Z;
|
||||
|
||||
changed = true;
|
||||
|
|
|
@ -253,7 +253,7 @@ int main2(int argc, const char** argv)
|
|||
{
|
||||
defining = true;
|
||||
}
|
||||
else if (arg[1] == 'd')
|
||||
else if (arg[1] == 'd' || arg[1] == 'D')
|
||||
{
|
||||
char def[100];
|
||||
int i = 2;
|
||||
|
|
Loading…
Reference in New Issue