Mercurial > hg > octave-lyh
annotate libinterp/template-inst/Array-jit.cc @ 15865:500650d6ddf5
Array-jit.cc: Ensure Cell.h is never included
author | Max Brister <max@2bass.com> |
---|---|
date | Fri, 28 Dec 2012 22:43:18 -0700 |
parents | 20f4a2399be0 |
children | e2de3c8882be |
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 | |
15864
20f4a2399be0
Array-jit.cc: Be more conservative on header inclusion
Max Brister <max@2bass.com>
parents:
15195
diff
changeset
|
34 #include "jit-ir.h" |
14903 | 35 |
15014
094bc0a145a1
Take into account different calling conventions
Max Brister <max@2bass.com>
parents:
14992
diff
changeset
|
36 NO_INSTANTIATE_ARRAY_SORT (jit_function); |
14903 | 37 |
15014
094bc0a145a1
Take into account different calling conventions
Max Brister <max@2bass.com>
parents:
14992
diff
changeset
|
38 INSTANTIATE_ARRAY (jit_function, OCTINTERP_API); |
14972
457eb974310b
src/TEMPLATE-INST/Array-jit.cc: Check for LLVM presence
Max Brister <max@2bass.com>
parents:
14903
diff
changeset
|
39 |
15865
500650d6ddf5
Array-jit.cc: Ensure Cell.h is never included
Max Brister <max@2bass.com>
parents:
15864
diff
changeset
|
40 #ifdef Cell_h |
500650d6ddf5
Array-jit.cc: Ensure Cell.h is never included
Max Brister <max@2bass.com>
parents:
15864
diff
changeset
|
41 #error Must not include Cell.h in Array-jit.h |
500650d6ddf5
Array-jit.cc: Ensure Cell.h is never included
Max Brister <max@2bass.com>
parents:
15864
diff
changeset
|
42 #error This causes problems on MSVC |
14972
457eb974310b
src/TEMPLATE-INST/Array-jit.cc: Check for LLVM presence
Max Brister <max@2bass.com>
parents:
14903
diff
changeset
|
43 #endif |
15865
500650d6ddf5
Array-jit.cc: Ensure Cell.h is never included
Max Brister <max@2bass.com>
parents:
15864
diff
changeset
|
44 |
500650d6ddf5
Array-jit.cc: Ensure Cell.h is never included
Max Brister <max@2bass.com>
parents:
15864
diff
changeset
|
45 #endif |