r218617 - in /trunk/gcc: ChangeLog jit/jit-play...
drepper@gcc.gnu.org
drepper@gcc.gnu.org
Thu Dec 11 04:31:00 GMT 2014
Author: drepper
Date: Thu Dec 11 04:31:52 2014
New Revision: 218617
URL: https://gcc.gnu.org/viewcvs?rev=218617&root=gcc&view=rev
Log:
Minor interface cleanups of libgccjit
* jit/jit-playback.c (convert_to_dso): Use auto_vec instead
of automatic array to build up command line.
* jit/jit-recording.c (recording::context::set_str_option):
Make copy of the string.
(recording::context::~context): Free string options.
* jit/jit-recording.h (recording::context): Adjust type
of m_str_options member.
* jit/libgccjit.h: Adjust comment about
gcc_jit_context_set_str_option parameter begin used after
the call.
Update comment now that all interfaces are copy strings
if necessary.
* jit/libgccjit++.h (gccjit::context): Add set_str_option
member function.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/jit/jit-playback.c
trunk/gcc/jit/jit-recording.c
trunk/gcc/jit/jit-recording.h
trunk/gcc/jit/libgccjit++.h
trunk/gcc/jit/libgccjit.h
More information about the Gcc-cvs
mailing list