Mercurial > octave-nkf
comparison libinterp/octave-value/ov-usr-fcn.h @ 20654:b65888ec820e draft default tip gccjit
dmalcom gcc jit import
author | Stefan Mahr <dac922@gmx.de> |
---|---|
date | Fri, 27 Feb 2015 16:59:36 +0100 |
parents | 19755f4fc851 |
children |
comparison
equal
deleted
inserted
replaced
20653:9cef0a1207e4 | 20654:b65888ec820e |
---|---|
42 class tree_statement_list; | 42 class tree_statement_list; |
43 class tree_va_return_list; | 43 class tree_va_return_list; |
44 class tree_expression; | 44 class tree_expression; |
45 class tree_walker; | 45 class tree_walker; |
46 | 46 |
47 #ifdef HAVE_LLVM | 47 #ifdef HAVE_JIT |
48 class jit_function_info; | 48 class jit_function_info; |
49 #endif | 49 #endif |
50 | 50 |
51 class | 51 class |
52 octave_user_code : public octave_function | 52 octave_user_code : public octave_function |
401 } | 401 } |
402 else | 402 else |
403 return false; | 403 return false; |
404 } | 404 } |
405 | 405 |
406 #ifdef HAVE_LLVM | 406 #ifdef HAVE_JIT |
407 jit_function_info *get_info (void) { return jit_info; } | 407 jit_function_info *get_info (void) { return jit_info; } |
408 | 408 |
409 void stash_info (jit_function_info *info) { jit_info = info; } | 409 void stash_info (jit_function_info *info) { jit_info = info; } |
410 #endif | 410 #endif |
411 | 411 |
412 #if 0 | 412 #if 0 |
413 void print_symtab_info (std::ostream& os) const; | 413 void print_symtab_info (std::ostream& os) const; |
414 #endif | 414 #endif |
415 | 415 |
496 symbol_table::scope_id local_scope; | 496 symbol_table::scope_id local_scope; |
497 | 497 |
498 // pointer to the current unwind_protect frame of this function. | 498 // pointer to the current unwind_protect frame of this function. |
499 unwind_protect *curr_unwind_protect_frame; | 499 unwind_protect *curr_unwind_protect_frame; |
500 | 500 |
501 #ifdef HAVE_LLVM | 501 //#ifdef HAVE_LLVM |
502 jit_function_info *jit_info; | 502 jit_function_info *jit_info; |
503 #endif | 503 //#endif |
504 | 504 |
505 void maybe_relocate_end_internal (void); | 505 void maybe_relocate_end_internal (void); |
506 | 506 |
507 void print_code_function_header (void); | 507 void print_code_function_header (void); |
508 | 508 |