back to original left shift code due to test regression from commit ba652ebe584
This commit is contained in:
parent
a9e185ae4d
commit
c053f13e4f
|
@ -1075,11 +1075,13 @@ void ExpressionInfixOperator(struct ParseState *Parser,
|
|||
ResultInt = BottomInt >= TopInt;
|
||||
break;
|
||||
case TokenShiftLeft:
|
||||
//ResultInt = BottomInt << TopInt;
|
||||
ResultInt = BottomInt << TopInt;
|
||||
/*
|
||||
if (BottomValue->Typ->Base == TypeUnsignedInt || BottomValue->Typ->Base == TypeUnsignedLong)
|
||||
ResultInt = (uint64_t) BottomInt >> TopInt;
|
||||
else
|
||||
ResultInt = BottomInt >> TopInt;
|
||||
*/
|
||||
break;
|
||||
case TokenShiftRight:
|
||||
ResultInt = BottomInt >> TopInt;
|
||||
|
|
Loading…
Reference in a new issue