Mercurial > hg > octave-nkf
annotate libinterp/template-inst/Array-jit.cc @ 16782:dd7ab7df2f29
return true for is_single_type and false for is_double_type in octave_float_complex_diag_matrix
author | David Bateman <dbateman@free.fr> |
---|---|
date | Thu, 20 Jun 2013 03:39:53 +0200 |
parents | e2de3c8882be |
children | d63878346099 |
rev | line source |
---|---|
14903 | 1 /* |
2 | |
16768 | 3 Copyright (C) 2012 Max Brister |
14903 | 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 | |
16768 | 23 // Author: Max Brister <max@2bass.com> |
24 | |
14903 | 25 #ifdef HAVE_CONFIG_H |
26 #include <config.h> | |
27 #endif | |
28 | |
14972
457eb974310b
src/TEMPLATE-INST/Array-jit.cc: Check for LLVM presence
Max Brister <max@2bass.com>
parents:
14903
diff
changeset
|
29 #ifdef HAVE_LLVM |
457eb974310b
src/TEMPLATE-INST/Array-jit.cc: Check for LLVM presence
Max Brister <max@2bass.com>
parents:
14903
diff
changeset
|
30 |
14903 | 31 #include "Array.h" |
32 #include "Array.cc" | |
33 | |
14992 | 34 extern template class OCTAVE_API Array<octave_idx_type>; |
35 | |
15864
20f4a2399be0
Array-jit.cc: Be more conservative on header inclusion
Max Brister <max@2bass.com>
parents:
15195
diff
changeset
|
36 #include "jit-ir.h" |
14903 | 37 |
15014
094bc0a145a1
Take into account different calling conventions
Max Brister <max@2bass.com>
parents:
14992
diff
changeset
|
38 NO_INSTANTIATE_ARRAY_SORT (jit_function); |
14903 | 39 |
15014
094bc0a145a1
Take into account different calling conventions
Max Brister <max@2bass.com>
parents:
14992
diff
changeset
|
40 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
|
41 |
15865
500650d6ddf5
Array-jit.cc: Ensure Cell.h is never included
Max Brister <max@2bass.com>
parents:
15864
diff
changeset
|
42 #ifdef Cell_h |
500650d6ddf5
Array-jit.cc: Ensure Cell.h is never included
Max Brister <max@2bass.com>
parents:
15864
diff
changeset
|
43 #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
|
44 #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
|
45 #endif |
15865
500650d6ddf5
Array-jit.cc: Ensure Cell.h is never included
Max Brister <max@2bass.com>
parents:
15864
diff
changeset
|
46 |
500650d6ddf5
Array-jit.cc: Ensure Cell.h is never included
Max Brister <max@2bass.com>
parents:
15864
diff
changeset
|
47 #endif |