Mercurial > octave-nkf
changeset 15842:896cf5769537 classdef
Add visit_funcall method to JIT tree walker.
* libinterp/interp-core/pt-jit.h (jit_convert::visit_funcall): New method.
* libinterp/interp-core/pt-jit.cc (jit_convert::visit_funcall): Likewise.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Sun, 23 Dec 2012 19:02:26 -0500 |
parents | 5861c4bde387 |
children | 622f3f794162 |
files | libinterp/interp-core/pt-jit.cc libinterp/interp-core/pt-jit.h |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/interp-core/pt-jit.cc Sun Dec 23 17:43:06 2012 -0500 +++ b/libinterp/interp-core/pt-jit.cc Sun Dec 23 19:02:26 2012 -0500 @@ -655,6 +655,12 @@ } void +jit_convert::visit_funcall (tree_funcall&) +{ + throw jit_fail_exception (); +} + +void jit_convert::visit_parameter_list (tree_parameter_list&) { throw jit_fail_exception ();
--- a/libinterp/interp-core/pt-jit.h Sun Dec 23 17:43:06 2012 -0500 +++ b/libinterp/interp-core/pt-jit.h Sun Dec 23 19:02:26 2012 -0500 @@ -127,6 +127,8 @@ void visit_fcn_handle (tree_fcn_handle&); + void visit_funcall (tree_funcall&); + void visit_parameter_list (tree_parameter_list&); void visit_postfix_expression (tree_postfix_expression&);