jit-playback: Move argv-creation to its own function
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 1 Dec 2014 17:56:34 +0000 (17:56 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Mon, 1 Dec 2014 17:56:34 +0000 (17:56 +0000)
commit8f50ee3cbed51591b9297c804a86b9c278bb04ec
tree645b99d658ed240d20fc6eebf2a0a902f937e18b
parent56dea35f948f84bff37051141893e1d237c3d0f9
jit-playback: Move argv-creation to its own function

gcc/jit/ChangeLog:
* jit-playback.c (gcc::jit::playback::context::compile): Use an
auto_vec<const char *> rather than a const char *[20] for the
top-level argv, and move the logic to build it to...
(gcc::jit::playback::context::make_fake_args): New function.
* jit-playback.h (gcc::jit::playback::context::make_fake_args):
New function.

From-SVN: r218237
gcc/jit/ChangeLog
gcc/jit/jit-playback.c
gcc/jit/jit-playback.h