comparison libinterp/parse-tree/pt-eval.cc @ 21211:2cf8bc5c7017

use "#if defined (HAVE_FOO)" instead of "#if HAVE_FOO" for feature tests * configure.ac (HAVE_HDF5_INT2FLOAT_CONVERSIONS): AC_DEFINE here. * ls-hdf5.cc (HAVE_HDF5_INT2FLOAT_CONVERSION): Delete definition. * ls-hdf5.cc, ls-hdf5.h, ccolamd.cc, dmperm.cc, ov-base-int.cc, ov-bool-mat.cc, ov-bool-sparse.cc, ov-bool.cc, ov-cell.cc, ov-class.cc, ov-complex.cc, ov-cx-mat.cc, ov-cx-sparse.cc, ov-fcn-handle.cc, ov-fcn-inline.cc, ov-float.cc, ov-flt-complex.cc, ov-flt-cx-mat.cc, ov-flt-re-mat.cc, ov-java.cc, ov-range.cc, ov-re-mat.cc, ov-re-sparse.cc, ov-scalar.cc, ov-str-mat.cc, ov-struct.cc, pt-eval.cc: Use #if defined (HAVE_FOO) instead of #if HAVE_FOO.
author John W. Eaton <jwe@octave.org>
date Sat, 06 Feb 2016 08:48:47 -0500
parents fcac5dbbf9ed
children 40de9f8f23a6
comparison
equal deleted inserted replaced
21210:4f7d3989c462 21211:2cf8bc5c7017
295 295
296 tree_expression *expr = cmd.control_expr (); 296 tree_expression *expr = cmd.control_expr ();
297 297
298 octave_value rhs = expr->rvalue1 (); 298 octave_value rhs = expr->rvalue1 ();
299 299
300 #if HAVE_LLVM 300 #if defined (HAVE_LLVM)
301 if (tree_jit::execute (cmd, rhs)) 301 if (tree_jit::execute (cmd, rhs))
302 return; 302 return;
303 #endif 303 #endif
304 304
305 if (rhs.is_undefined ()) 305 if (rhs.is_undefined ())
1014 } 1014 }
1015 1015
1016 void 1016 void
1017 tree_evaluator::visit_while_command (tree_while_command& cmd) 1017 tree_evaluator::visit_while_command (tree_while_command& cmd)
1018 { 1018 {
1019 #if HAVE_LLVM 1019 #if defined (HAVE_LLVM)
1020 if (tree_jit::execute (cmd)) 1020 if (tree_jit::execute (cmd))
1021 return; 1021 return;
1022 #endif 1022 #endif
1023 1023
1024 unwind_protect frame; 1024 unwind_protect frame;
1053 } 1053 }
1054 1054
1055 void 1055 void
1056 tree_evaluator::visit_do_until_command (tree_do_until_command& cmd) 1056 tree_evaluator::visit_do_until_command (tree_do_until_command& cmd)
1057 { 1057 {
1058 #if HAVE_LLVM 1058 #if defined (HAVE_LLVM)
1059 if (tree_jit::execute (cmd)) 1059 if (tree_jit::execute (cmd))
1060 return; 1060 return;
1061 #endif 1061 #endif
1062 1062
1063 unwind_protect frame; 1063 unwind_protect frame;