Commit 32f31dfc authored by Maxime Joubert's avatar Maxime Joubert

program_solver: fallthrough: fix warning

* build-aux/gitlog-to-changelog,
* src/inst/program_solver.gen.py: here.
parent 3a936754
Pipeline #2314 passed with stage
in 4 minutes and 57 seconds
...@@ -3,13 +3,13 @@ eval '(exit $?0)' && eval 'exec perl -wS "$0" "$@"' ...@@ -3,13 +3,13 @@ eval '(exit $?0)' && eval 'exec perl -wS "$0" "$@"'
if 0; if 0;
# Convert git log output to ChangeLog format. # Convert git log output to ChangeLog format.
my $VERSION = '2016-03-22 21:49'; # UTC my $VERSION = '2018-03-07 03:47'; # UTC
# The definition above must lie within the first 8 lines in order # The definition above must lie within the first 8 lines in order
# for the Emacs time-stamp write hook (at end) to update it. # for the Emacs time-stamp write hook (at end) to update it.
# If you change this file with Emacs, please let the write hook # If you change this file with Emacs, please let the write hook
# do its job. Otherwise, update this string manually. # do its job. Otherwise, update this string manually.
# Copyright (C) 2008-2016 Free Software Foundation, Inc. # Copyright (C) 2008-2018 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
...@@ -22,7 +22,7 @@ my $VERSION = '2016-03-22 21:49'; # UTC ...@@ -22,7 +22,7 @@ my $VERSION = '2016-03-22 21:49'; # UTC
# GNU General Public License for more details. # GNU General Public License for more details.
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
# Written by Jim Meyering # Written by Jim Meyering
...@@ -33,7 +33,7 @@ use POSIX qw(strftime); ...@@ -33,7 +33,7 @@ use POSIX qw(strftime);
(my $ME = $0) =~ s|.*/||; (my $ME = $0) =~ s|.*/||;
# use File::Coda; # http://meyering.net/code/Coda/ # use File::Coda; # https://meyering.net/code/Coda/
END { END {
defined fileno STDOUT or return; defined fileno STDOUT or return;
close STDOUT and return; close STDOUT and return;
...@@ -491,7 +491,7 @@ sub git_dir_option($) ...@@ -491,7 +491,7 @@ sub git_dir_option($)
# Local Variables: # Local Variables:
# mode: perl # mode: perl
# indent-tabs-mode: nil # indent-tabs-mode: nil
# eval: (add-hook 'write-file-hooks 'time-stamp) # eval: (add-hook 'before-save-hook 'time-stamp)
# time-stamp-start: "my $VERSION = '" # time-stamp-start: "my $VERSION = '"
# time-stamp-format: "%:y-%02m-%02d %02H:%02M" # time-stamp-format: "%:y-%02m-%02d %02H:%02M"
# time-stamp-time-zone: "UTC0" # time-stamp-time-zone: "UTC0"
......
...@@ -189,6 +189,7 @@ namespace inst ...@@ -189,6 +189,7 @@ namespace inst
{ {
case Register::generic: case Register::generic:
reg.set_kind(Register::general); reg.set_kind(Register::general);
/* fallthrough */
case Register::general: case Register::general:
if ((reg.get_index() == vm::Cpu::t9 && max_caller_save_ < 10) if ((reg.get_index() == vm::Cpu::t9 && max_caller_save_ < 10)
|| (reg.get_index() == vm::Cpu::t8 && max_caller_save_ < 9) || (reg.get_index() == vm::Cpu::t8 && max_caller_save_ < 9)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment