Mercurial > octave
comparison libinterp/octave-value/ov-usr-fcn.h @ 24239:51e408a7d38f
jit: Move everything inside the octave namespace
* libinterp/octave-value/ov-builtin.cc: Move everything inside the octave namespace
* libinterp/octave-value/ov-builtin.h: Idem.
* libinterp/octave-value/ov-usr-fcn.h: Idem.
* libinterp/parse-tree/jit-ir.cc: Idem.
* libinterp/parse-tree/jit-ir.h: Idem.
* libinterp/parse-tree/jit-typeinfo.cc: Idem.
* libinterp/parse-tree/jit-typeinfo.h: Idem.
* libinterp/parse-tree/jit-util.cc: Idem.
* libinterp/parse-tree/jit-util.h: Idem.
* libinterp/parse-tree/pt-jit.cc: Idem.
* libinterp/parse-tree/pt-jit.h: Idem.
* libinterp/parse-tree/pt-loop.h: Idem.
* libinterp/template-inst/Array-jit.cc: Idem.
author | Julien Bect <jbect@users.sourceforge.net> |
---|---|
date | Sun, 15 Oct 2017 21:08:02 +0200 |
parents | 21915520ac7b |
children | bc3819b7cca1 |
comparison
equal
deleted
inserted
replaced
24238:e622b58d78a2 | 24239:51e408a7d38f |
---|---|
47 class tree_parameter_list; | 47 class tree_parameter_list; |
48 class tree_statement_list; | 48 class tree_statement_list; |
49 class tree_evaluator; | 49 class tree_evaluator; |
50 class tree_expression; | 50 class tree_expression; |
51 class tree_walker; | 51 class tree_walker; |
52 #if defined (HAVE_LLVM) | |
53 class jit_function_info; | |
54 #endif | |
55 | |
52 } | 56 } |
53 | |
54 #if defined (HAVE_LLVM) | |
55 class jit_function_info; | |
56 #endif | |
57 | 57 |
58 class | 58 class |
59 octave_user_code : public octave_function | 59 octave_user_code : public octave_function |
60 { | 60 { |
61 protected: | 61 protected: |
399 bool subsasgn_optimization_ok (void); | 399 bool subsasgn_optimization_ok (void); |
400 | 400 |
401 void accept (octave::tree_walker& tw); | 401 void accept (octave::tree_walker& tw); |
402 | 402 |
403 #if defined (HAVE_LLVM) | 403 #if defined (HAVE_LLVM) |
404 jit_function_info * get_info (void) { return jit_info; } | 404 octave::jit_function_info * get_info (void) { return jit_info; } |
405 | 405 |
406 void stash_info (jit_function_info *info) { jit_info = info; } | 406 void stash_info (octave::jit_function_info *info) { jit_info = info; } |
407 #endif | 407 #endif |
408 | 408 |
409 octave_value dump (void) const; | 409 octave_value dump (void) const; |
410 | 410 |
411 private: | 411 private: |
489 | 489 |
490 // The scope of the parent function, if any. | 490 // The scope of the parent function, if any. |
491 octave::symbol_table::scope *parent_scope; | 491 octave::symbol_table::scope *parent_scope; |
492 | 492 |
493 #if defined (HAVE_LLVM) | 493 #if defined (HAVE_LLVM) |
494 jit_function_info *jit_info; | 494 octave::jit_function_info *jit_info; |
495 #endif | 495 #endif |
496 | 496 |
497 void maybe_relocate_end_internal (void); | 497 void maybe_relocate_end_internal (void); |
498 | 498 |
499 void print_code_function_header (const std::string& prefix); | 499 void print_code_function_header (const std::string& prefix); |