API extension: add GCC_JIT_UNARY_OP_ABS to enum gcc_jit_unary_op
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 7 Jan 2015 20:40:46 +0000 (20:40 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 7 Jan 2015 20:40:46 +0000 (20:40 +0000)
commit18146f456f5a66b20d9f9f886a38364369b0474c
treef4ac466c9b35679f58cc38f46554ecece9ad0d3a
parentf63c7f852468f409205d1d0182b2fba989c38f93
API extension: add GCC_JIT_UNARY_OP_ABS to enum gcc_jit_unary_op

gcc/jit/ChangeLog:
* docs/topics/expressions.rst (Unary Operations): Add
GCC_JIT_UNARY_OP_ABS.
* jit-playback.c (gcc::jit::playback::context::new_unary_op):
Likewise.
* jit-recording.c (unary_op_strings): Likewise.
* libgccjit.c (gcc_jit_context_new_unary_op): Update checking
of "op" to reflect addition of GCC_JIT_UNARY_OP_ABS.
* libgccjit.h (enum gcc_jit_unary_op): Add GCC_JIT_UNARY_OP_ABS.
* docs/_build/texinfo/libgccjit.texi: Regenerate.

gcc/testsuite/ChangeLog:
* jit.dg/test-expressions.c (make_tests_of_unary_ops): Add test of
GCC_JIT_UNARY_OP_ABS.
(verify_unary_ops): Likewise.

From-SVN: r219321
gcc/jit/ChangeLog
gcc/jit/docs/_build/texinfo/libgccjit.texi
gcc/jit/docs/topics/expressions.rst
gcc/jit/jit-playback.c
gcc/jit/jit-recording.c
gcc/jit/libgccjit.c
gcc/jit/libgccjit.h
gcc/testsuite/ChangeLog
gcc/testsuite/jit.dg/test-expressions.c