orcc: allow setting custom backup function
authorWim Taymans <wtaymans@redhat.com>
Fri, 5 Dec 2014 11:01:21 +0000 (12:01 +0100)
committerWim Taymans <wtaymans@redhat.com>
Fri, 5 Dec 2014 13:52:28 +0000 (14:52 +0100)
commitf1cfa5bba9824374d769e312381d8f5d85a417bc
treecf68eda7a4f26a042780f78b4250876201539865
parent1291f79b81cf212ff14e7caaa29f6742e76f6c5e
orcc: allow setting custom backup function

Add a new .backup keyword that instructs the orc compiler to call our
custom backup function instead of generating one. This is interesting if
the generated backup function is slower than a plain C implementation.
orc/orcparse.c
orc/orcprogram.c
orc/orcprogram.h
tools/orcc.c