Mercurial > octave-nkf
changeset 14992:fd8d1a616be1
Compile JIT on msvc
* src/TEMPLATE-INST/Array-jit.cc: Mark Array<octave_idx_type> as dll import.
* src/pt-jit.cc: Include symtab.h.
* src/pt-jit.h: Avoid including Array<octave_value> in Cell.h.
author | Michael Goffioul |
---|---|
date | Tue, 17 Jul 2012 09:48:53 -0500 |
parents | 6bc39019f726 |
children | 06f2e9bdade6 |
files | src/TEMPLATE-INST/Array-jit.cc src/pt-jit.cc src/pt-jit.h |
diffstat | 3 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/TEMPLATE-INST/Array-jit.cc Fri Jul 13 12:31:51 2012 -0400 +++ b/src/TEMPLATE-INST/Array-jit.cc Tue Jul 17 09:48:53 2012 -0500 @@ -29,6 +29,8 @@ #include "Array.h" #include "Array.cc" +extern template class OCTAVE_API Array<octave_idx_type>; + #include "pt-jit.h" NO_INSTANTIATE_ARRAY_SORT (jit_operation::overload);
--- a/src/pt-jit.cc Fri Jul 13 12:31:51 2012 -0400 +++ b/src/pt-jit.cc Tue Jul 17 09:48:53 2012 -0500 @@ -60,6 +60,7 @@ #include "ov-scalar.h" #include "ov-complex.h" #include "pt-all.h" +#include "symtab.h" static llvm::IRBuilder<> builder (llvm::getGlobalContext ());
--- a/src/pt-jit.h Fri Jul 13 12:31:51 2012 -0400 +++ b/src/pt-jit.h Tue Jul 17 09:48:53 2012 -0500 @@ -35,7 +35,6 @@ #include "Array.h" #include "Range.h" #include "pt-walk.h" -#include "symtab.h" // -------------------- Current status -------------------- // Simple binary operations (+-*/) on octave_scalar's (doubles) are optimized.