# 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 --git a/libinterp/interp-core/pt-jit.cc b/libinterp/interp-core/pt-jit.cc --- a/libinterp/interp-core/pt-jit.cc +++ b/libinterp/interp-core/pt-jit.cc @@ -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 --git a/libinterp/interp-core/pt-jit.h b/libinterp/interp-core/pt-jit.h --- a/libinterp/interp-core/pt-jit.h +++ b/libinterp/interp-core/pt-jit.h @@ -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&);