Tilmann Scheller fb9b4dd807 Fix signed left shift in vm_loop().
Signed left shift operations are undefined in C. Add constants for the minimum/maximum integer value which are already shifted. Technically, the constant for the shifted maximum value is not required, adding it for consistency/increased readability.

The bug was detected by -Wshift-negative-value both with GCC 6.x and Clang.

This fixes #1174.

JerryScript-DCO-1.0-Signed-off-by: Tilmann Scheller t.scheller@samsung.com
2016-07-05 22:01:00 +02:00
..
2016-07-05 22:01:00 +02:00
2016-06-27 03:04:50 -07:00
2016-06-27 00:25:09 -07:00
2016-07-05 22:01:00 +02:00
2016-04-20 03:38:43 -07:00
2016-06-14 14:44:02 +02:00
2016-04-23 22:50:50 +02:00
2016-06-27 00:25:09 -07:00
2016-06-08 12:48:47 +02:00