Fixed #1341
This commit is contained in:
@@ -1732,7 +1732,7 @@ unsigned OptStackOps (CodeSeg* S)
|
|||||||
int I;
|
int I;
|
||||||
int OldEntryCount; /* Old number of entries */
|
int OldEntryCount; /* Old number of entries */
|
||||||
unsigned Used; /* What registers would be used */
|
unsigned Used; /* What registers would be used */
|
||||||
unsigned PushedRegs; /* Track if the same regs are used after the push */
|
unsigned PushedRegs = 0; /* Track if the same regs are used after the push */
|
||||||
int RhsAChgIndex; /* Track if rhs is changed more than once */
|
int RhsAChgIndex; /* Track if rhs is changed more than once */
|
||||||
int RhsXChgIndex; /* Track if rhs is changed more than once */
|
int RhsXChgIndex; /* Track if rhs is changed more than once */
|
||||||
int IsRegAOptFunc = 0; /* Whether to use the RegA-only optimizations */
|
int IsRegAOptFunc = 0; /* Whether to use the RegA-only optimizations */
|
||||||
|
|||||||
@@ -3871,8 +3871,8 @@ static void hieOr (ExprDesc *Expr)
|
|||||||
static void hieQuest (ExprDesc* Expr)
|
static void hieQuest (ExprDesc* Expr)
|
||||||
/* Parse the ternary operator */
|
/* Parse the ternary operator */
|
||||||
{
|
{
|
||||||
int FalseLab;
|
int FalseLab = 0;
|
||||||
int TrueLab;
|
int TrueLab = 0;
|
||||||
CodeMark SkippedBranch;
|
CodeMark SkippedBranch;
|
||||||
CodeMark TrueCodeEnd;
|
CodeMark TrueCodeEnd;
|
||||||
ExprDesc Expr2; /* Expression 2 */
|
ExprDesc Expr2; /* Expression 2 */
|
||||||
|
|||||||
Reference in New Issue
Block a user