Actually enable JIT by default in server/daemon/replay modes
commit57f063d21c0a8bf02c59e1aaec17524e7378f4b4
authorSara Golemon <sgolemon@fb.com>
Thu, 18 Oct 2012 22:42:43 +0000 (18 15:42 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 19 Oct 2012 05:14:05 +0000 (18 22:14 -0700)
tree935c4b1cd677e20cf848b0a1291c26ffbf30b6a1
parentdd7d2d0402895cfc0982df66378713c4537d38e2
Actually enable JIT by default in server/daemon/replay modes

Previous diff missed that RuntimeOption::ExecutionMode
was being set *after* the config file was loaded, so checking
ExecutionMode always yielded an empty string (and thus not srv).

Also removed from unnecessary duplicate code.
src/runtime/base/program_functions.cpp