Akos Kiss
65ae949dc3
Add jerryscript-compiler.h public header to cover compiler incompatibilities ( #2313 )
...
In general, public headers should not have compiler-specific
constructs but both the core and the port headers have attributes,
which are non-standard. It's better to factor out such constructs
to a common place (a new header) and hide them behind macros, which
can then be defined on a per-compiler basis.
This patch moves the existing definitions of function attributes and
likely/unlikely builtins to the new header. At the same time, it
unifies the names of these attribute defines and where they are
used. Moreover, it touches on jerry-main and removes the uses of
`__attribute__((unused))` entirely and replaces them with the
elsewhere used `(void) ...` pattern.
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
2018-05-14 09:41:26 +09:00
..
2018-04-19 10:14:34 +02:00
2018-04-19 09:13:20 +09:00
2017-04-21 11:42:36 +02:00
2017-12-06 18:06:07 +01:00
2017-04-21 11:42:36 +02:00
2018-02-01 19:30:03 +09:00
2017-04-21 11:42:36 +02:00
2017-03-30 21:22:22 +08:00
2017-04-21 11:42:36 +02:00
2018-03-01 13:31:15 +01:00
2017-04-21 11:42:36 +02:00
2017-12-06 18:06:07 +01:00
2017-04-21 11:42:36 +02:00
2018-05-14 09:41:26 +09:00
2017-04-21 11:42:36 +02:00
2018-04-09 13:27:16 +02:00
2017-04-21 11:42:36 +02:00
2018-05-14 09:41:26 +09:00
2017-03-23 09:36:29 +01:00
2016-12-08 06:39:11 +01:00
2017-03-23 09:36:29 +01:00
2016-12-08 06:39:11 +01:00
2017-04-21 11:42:36 +02:00
2016-12-08 06:39:11 +01:00
2017-04-21 11:42:36 +02:00
2018-03-21 18:36:38 +09:00
2017-03-23 09:36:29 +01:00
2018-04-19 09:12:54 +09:00
2017-03-23 09:36:29 +01:00
2017-12-06 18:06:07 +01:00
2017-12-06 18:06:07 +01:00
2018-05-14 09:41:26 +09:00
2017-12-06 18:06:07 +01:00
2018-05-14 09:41:26 +09:00
2017-03-23 09:36:29 +01:00
2017-03-23 09:36:29 +01:00
2018-05-09 17:37:27 +02:00
2018-04-05 09:58:07 +02:00
2017-12-06 18:06:07 +01:00
2018-04-05 09:58:07 +02:00
2017-04-21 11:42:36 +02:00
2018-05-14 09:41:26 +09:00
2017-04-21 11:42:36 +02:00
2018-05-14 09:41:26 +09:00
2017-04-21 11:42:36 +02:00
2017-12-06 18:06:07 +01:00
2017-04-21 11:42:36 +02:00
2017-12-06 18:06:07 +01:00
2017-03-23 09:36:29 +01:00
2018-04-26 13:51:27 +02:00
2017-03-23 09:36:29 +01:00
2017-12-06 18:06:07 +01:00
2017-04-26 19:47:51 +08:00
2018-03-01 13:31:15 +01:00
2017-04-26 19:47:51 +08:00
2016-12-08 06:39:11 +01:00
2017-04-21 11:42:36 +02:00
2016-12-08 06:39:11 +01:00
2017-04-21 11:42:36 +02:00
2016-12-08 06:39:11 +01:00
2017-04-21 11:42:36 +02:00
2016-12-08 06:39:11 +01:00
2017-04-21 11:42:36 +02:00
2018-04-20 15:27:33 +02:00
2017-12-06 18:06:07 +01:00
2018-04-20 15:27:33 +02:00
2017-04-21 11:42:36 +02:00
2018-04-20 14:04:59 +02:00
2017-07-10 10:49:16 +02:00
2018-03-01 13:31:15 +01:00
2017-04-21 11:42:36 +02:00
2016-12-08 06:39:11 +01:00
2017-04-21 11:42:36 +02:00
2016-12-08 06:39:11 +01:00
2017-04-21 11:42:36 +02:00
2016-12-08 06:39:11 +01:00
2017-03-23 09:36:29 +01:00
2016-12-08 06:39:11 +01:00
2017-04-21 11:42:36 +02:00
2016-12-08 06:39:11 +01:00
2017-04-21 11:42:36 +02:00
2016-12-08 06:39:11 +01:00
2017-04-21 11:42:36 +02:00
2016-12-08 06:39:11 +01:00
2017-04-21 11:42:36 +02:00
2018-03-02 14:37:03 +01:00
2018-05-14 09:41:26 +09:00
2018-03-02 14:37:03 +01:00
2018-03-02 14:37:03 +01:00