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;
|
ResultInt = BottomInt >= TopInt;
|
||||||
break;
|
break;
|
||||||
case TokenShiftLeft:
|
case TokenShiftLeft:
|
||||||
//ResultInt = BottomInt << TopInt;
|
ResultInt = BottomInt << TopInt;
|
||||||
|
/*
|
||||||
if (BottomValue->Typ->Base == TypeUnsignedInt || BottomValue->Typ->Base == TypeUnsignedLong)
|
if (BottomValue->Typ->Base == TypeUnsignedInt || BottomValue->Typ->Base == TypeUnsignedLong)
|
||||||
ResultInt = (uint64_t) BottomInt >> TopInt;
|
ResultInt = (uint64_t) BottomInt >> TopInt;
|
||||||
else
|
else
|
||||||
ResultInt = BottomInt >> TopInt;
|
ResultInt = BottomInt >> TopInt;
|
||||||
|
*/
|
||||||
break;
|
break;
|
||||||
case TokenShiftRight:
|
case TokenShiftRight:
|
||||||
ResultInt = BottomInt >> TopInt;
|
ResultInt = BottomInt >> TopInt;
|
||||||
|
|
Loading…
Reference in a new issue