# HG changeset patch # User Michael Goffioul # Date 1356307346 18000 # Node ID 896cf57695379ac4bf959ec93277da938b6a5a2d # Parent 5861c4bde387f340c30b3db9a01019de13d6cc7a 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. diff -r 5861c4bde387 -r 896cf5769537 libinterp/interp-core/pt-jit.cc --- 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 (); diff -r 5861c4bde387 -r 896cf5769537 libinterp/interp-core/pt-jit.h --- 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&);