[m-rev.] for review: Avoid right shift count overflow warnings.

Julien Fischer jfischer at opturion.com
Mon Jul 30 17:40:21 AEST 2018


On Mon, 30 Jul 2018, Peter Wang wrote:

> compiler/mlds_to_cs_data.m:
> compiler/mlds_to_java_data.m:
>    In output_int_const_for_csharp and output_int_const_for_java,
>    right shift by 31 instead of 32 to avoid shift count overflow
>    warnings from 32-bit compilers.
>
>    Simplify the code.

That's fine.

Julien.


More information about the reviews mailing list