diff libinterp/octave.cc @ 17792:26e9312e6928

Build JIT compiler by default, but do not enable it by default. * configure.ac: Switch build_jit to "yes". * libinterp/corefcn/pt-jit.cc: Initialize Vjit_enable to false (disable at runtime). * libinterp/octave.cc: Process new --jit-compiler option. * libinterp/options-usage.h: Document new --jit-compiler option. Remove old --no-jit-compiler option.
author Rik <rik@octave.org>
date Tue, 29 Oct 2013 11:09:49 -0700
parents 175b392e91fe
children ef4fc092c86b
line wrap: on
line diff
--- a/libinterp/octave.cc
+++ b/libinterp/octave.cc
@@ -639,6 +639,10 @@
           Fdebug_jit (octave_value (true));
           break;
 
+        case JIT_COMPILER_OPTION:
+          Fjit_enable (octave_value (true));
+          break;
+
         case LINE_EDITING_OPTION:
           forced_line_editing = true;
           break;
@@ -655,10 +659,6 @@
           set_initial_path = false;
           break;
 
-        case NO_JIT_COMPILER_OPTION:
-          Fjit_enable (octave_value (false));
-          break;
-
         case NO_LINE_EDITING_OPTION:
           line_editing = false;
           break;