move interactive function init out of main loop
authorMike Frysinger <vapier@gentoo.org>
Wed, 3 Jun 2015 13:24:48 +0000 (21:24 +0800)
committerMike Frysinger <vapier@gentoo.org>
Wed, 3 Jun 2015 13:24:48 +0000 (21:24 +0800)
commit080e64a6a23b1ca2be9d603bc642c128d413dd7d
tree1eb1f66fac3cc1393221b26467f38c381f7558e2
parentc1273bcbaf659f5bb54fb85e1292b21d70503bc4
move interactive function init out of main loop

These values don't change between runs, so there's no point in recreating
them on every instruction step.  Pull it out to the top to simplify.
riscv/interactive.cc