Move gcc_jit_result implementation to a new files jit-result.{h|c}
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 1 Dec 2014 17:52:03 +0000 (17:52 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Mon, 1 Dec 2014 17:52:03 +0000 (17:52 +0000)
commit56dea35f948f84bff37051141893e1d237c3d0f9
treee01e97dd200d920f68a44c0ffbf55499ae2b1fe5
parent52b9468f1575b87e490cc3fdcff4c51f25fb49c1
Move gcc_jit_result implementation to a new files jit-result.{h|c}

gcc/jit/ChangeLog:
* Make-lang.in (jit_OBJS): Add jit/jit-result.o.
* jit-playback.c: Include new header jit-result.h.
(gcc::jit::result::result): Move to new file jit-result.c.
(gcc::jit::result::~result): Likewise.
(gcc::jit::playback::result): Likewise.
* jit-recording.h (class gcc::jit::result): Move to new
header jit-result.h.
* jit-result.c: New file, to contain...
(gcc::jit::result::result): Move here from jit-playback.c,
removing erroneous "playback" namespace from comment.
(gcc::jit::result::~result): Likewise.
(gcc::jit::playback::result): Likewise.
* jit-result.h: New file, to contain...
(class gcc::jit::result): Move from jit-recording.h.
* libgccjit.c: Include jit-result.h.
(gcc_jit_result_get_code): Update comment to reflect move
of implementation.
(gcc_jit_result_release): Likewise.

From-SVN: r218236
gcc/jit/ChangeLog
gcc/jit/Make-lang.in
gcc/jit/jit-playback.c
gcc/jit/jit-recording.h
gcc/jit/jit-result.c [new file with mode: 0644]
gcc/jit/jit-result.h [new file with mode: 0644]
gcc/jit/libgccjit.c