changeset 24237:8d8e4d8e6fdc

pt-jit.cc: Fix visit_*_command methods in jit_convert class * libinterp/parse-tree/pt-jit.cc: Fix visit_*_command methods in jit_convert class. More precisely, remove visit_global_command and visit_persistent_command, and add missing visit_decl_command.
author Julien Bect <jbect@users.sourceforge.net>
date Tue, 17 Oct 2017 07:13:28 +0200
parents aec57eeb3aca
children e622b58d78a2
files libinterp/parse-tree/pt-jit.cc
diffstat 1 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-jit.cc	Sun Nov 12 17:04:43 2017 +0100
+++ b/libinterp/parse-tree/pt-jit.cc	Tue Oct 17 07:13:28 2017 +0200
@@ -353,15 +353,9 @@
 }
 
 void
-jit_convert::visit_global_command (tree_global_command&)
+jit_convert::visit_decl_command (tree_decl_command&)
 {
-  throw jit_fail_exception ("No visit_global_command implemenation");
-}
-
-void
-jit_convert::visit_persistent_command (tree_persistent_command&)
-{
-  throw jit_fail_exception ("No visit_persistent_command implementation");
+  throw jit_fail_exception ("No visit_decl_command implementation");
 }
 
 void