Mercurial > hg > octave-lyh
annotate src/TEMPLATE-INST/Array-jit.cc @ 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 | a5f75de0dab1 |
children | 094bc0a145a1 |
rev | line source |
---|---|
14903 | 1 /* |
2 | |
3 Copyright (C) 2012 Max Brister <max@2bass.com> | |
4 | |
5 This file is part of Octave. | |
6 | |
7 Octave is free software; you can redistribute it and/or modify it | |
8 under the terms of the GNU General Public License as published by the | |
9 Free Software Foundation; either version 3 of the License, or (at your | |
10 option) any later version. | |
11 | |
12 Octave is distributed in the hope that it will be useful, but WITHOUT | |
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with Octave; see the file COPYING. If not, see | |
19 <http://www.gnu.org/licenses/>. | |
20 | |
21 */ | |
22 | |
23 #ifdef HAVE_CONFIG_H | |
24 #include <config.h> | |
25 #endif | |
26 | |
14972
457eb974310b
src/TEMPLATE-INST/Array-jit.cc: Check for LLVM presence
Max Brister <max@2bass.com>
parents:
14903
diff
changeset
|
27 #ifdef HAVE_LLVM |
457eb974310b
src/TEMPLATE-INST/Array-jit.cc: Check for LLVM presence
Max Brister <max@2bass.com>
parents:
14903
diff
changeset
|
28 |
14903 | 29 #include "Array.h" |
30 #include "Array.cc" | |
31 | |
14992 | 32 extern template class OCTAVE_API Array<octave_idx_type>; |
33 | |
14903 | 34 #include "pt-jit.h" |
35 | |
14983
a5f75de0dab1
Rename jit_function to jit_operation
Max Brister <max@2bass.com>
parents:
14972
diff
changeset
|
36 NO_INSTANTIATE_ARRAY_SORT (jit_operation::overload); |
14903 | 37 |
14983
a5f75de0dab1
Rename jit_function to jit_operation
Max Brister <max@2bass.com>
parents:
14972
diff
changeset
|
38 INSTANTIATE_ARRAY (jit_operation::overload, OCTINTERP_API); |
14972
457eb974310b
src/TEMPLATE-INST/Array-jit.cc: Check for LLVM presence
Max Brister <max@2bass.com>
parents:
14903
diff
changeset
|
39 |
457eb974310b
src/TEMPLATE-INST/Array-jit.cc: Check for LLVM presence
Max Brister <max@2bass.com>
parents:
14903
diff
changeset
|
40 #endif |