Combining function bodies at runtime
<p>This is going to sound super hackish but does anyone know of a way to combine method bodies at  runtime in C++? I'm currently on the path of grabbing the address of the functions then memcopy to executable memory but it has the problem of unwanted prolog/epilog.</p>

<p>Essentially I've got a few dozen simple operations that take the same arguments and return nothing and i want to build a function at runtime out of these simple operations.</p>
