t-harvey
94b6aae52c
Added #if control around GCC built-in functions so that the code can be ( #1483 )
...
compiled using non-GCC compilers.
This included adding an initialization to a variable that looks(!)
like it can reach a use before being initialized (b/c we turned
JERRY_UNREACHABLE into a nop) -- an example:
int foo;
switch (value_can_only_be_one_or_two)
case 1:
case 2:
foo = 5;
default:
JERRY_UNREACHABLE();
x = foo +1;
...the compiler assumes that the path can go through the default case,
which leaves the value of foo undefined.
JerryScript-DCO-1.0-Signed-off-by: Timothy Harvey t-harvey@ti.com
2017-01-23 12:19:35 +01:00
..
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2017-01-03 18:03:47 +01:00
2017-01-17 08:58:46 +01:00
2017-01-03 18:03:47 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2017-01-11 08:27:29 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2017-01-05 09:35:31 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2017-01-23 12:19:35 +01:00
2017-01-17 08:58:46 +01:00
2017-01-11 08:27:29 +01:00
2016-12-08 06:39:11 +01:00
2016-12-08 06:39:11 +01:00
2016-12-08 06:39:11 +01:00
2017-01-11 08:27:29 +01:00
2017-01-13 11:04:34 +01:00
2017-01-17 08:58:46 +01:00
2017-01-13 11:04:34 +01:00
2017-01-17 08:58:46 +01:00
2016-12-13 13:41:36 +01:00
2016-12-13 08:36:01 +01:00
2017-01-17 08:58:46 +01:00
2016-12-19 13:48:17 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2017-01-13 11:04:34 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2017-01-13 11:04:34 +01:00
2017-01-17 08:58:46 +01:00
2017-01-13 11:04:34 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-08 06:39:11 +01:00
2017-01-17 08:58:46 +01:00
2016-12-16 10:18:37 +01:00
2016-12-09 13:28:06 +01:00
2016-12-16 15:40:46 +01:00
2017-01-13 11:04:34 +01:00