From 8d1548057e1b559a8c6871ebb5a583c691853efb Mon Sep 17 00:00:00 2001 From: twisti Date: Thu, 26 Oct 2006 11:04:31 +0000 Subject: [PATCH] * src/vm/jit/x86_64/md.h: Removed. * src/vm/jit/x86_64/Makefile.am (libarch_la_SOURCES): Removed md.h. * src/vm/jit/x86_64/codegen.c (md.h): Removed. (codegen): Warning fix. --- src/vm/jit/x86_64/Makefile.am | 5 ++-- src/vm/jit/x86_64/codegen.c | 8 ++--- src/vm/jit/x86_64/md.h | 55 ----------------------------------- 3 files changed, 6 insertions(+), 62 deletions(-) delete mode 100644 src/vm/jit/x86_64/md.h diff --git a/src/vm/jit/x86_64/Makefile.am b/src/vm/jit/x86_64/Makefile.am index 9d1bec87f..1bac4da27 100644 --- a/src/vm/jit/x86_64/Makefile.am +++ b/src/vm/jit/x86_64/Makefile.am @@ -28,7 +28,7 @@ ## ## Changes: ## -## $Id: Makefile.am 5642 2006-10-03 16:42:34Z edwin $ +## $Id: Makefile.am 5830 2006-10-26 11:04:31Z twisti $ ## Process this file with automake to produce Makefile.in @@ -65,8 +65,7 @@ libarch_la_SOURCES = \ \ md-abi.c \ md-abi.h \ - md.c \ - md.h + md.c $(srcdir)/asmpart.S: $(top_builddir)/config.h offsets.h diff --git a/src/vm/jit/x86_64/codegen.c b/src/vm/jit/x86_64/codegen.c index 8d8a96d18..e51432940 100644 --- a/src/vm/jit/x86_64/codegen.c +++ b/src/vm/jit/x86_64/codegen.c @@ -30,7 +30,7 @@ Changes: Christian Ullrich Edwin Steiner - $Id: codegen.c 5785 2006-10-15 22:25:54Z edwin $ + $Id: codegen.c 5830 2006-10-26 11:04:31Z twisti $ */ @@ -42,7 +42,6 @@ #include "vm/types.h" -#include "md.h" #include "md-abi.h" #include "vm/jit/x86_64/arch.h" @@ -117,8 +116,9 @@ bool codegen(jitdata *jd) /* prevent compiler warnings */ - d = 0; - lm = NULL; + d = 0; + lm = NULL; + um = NULL; bte = NULL; { diff --git a/src/vm/jit/x86_64/md.h b/src/vm/jit/x86_64/md.h deleted file mode 100644 index aeb4bb74c..000000000 --- a/src/vm/jit/x86_64/md.h +++ /dev/null @@ -1,55 +0,0 @@ -/* src/vm/jit/x86_64/md.h - machine dependent x86_64 Linux functions - - Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel, - C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring, - E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, - J. Wenninger, Institut f. Computersprachen - TU Wien - - This file is part of CACAO. - - 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 the Free Software Foundation; either version 2, or (at - your option) any later version. - - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. - - Contact: cacao@cacaojvm.org - - Authors: Christian Thalinger - - Changes: - - $Id: md.h 4357 2006-01-22 23:33:38Z twisti $ - -*/ - - -#ifndef _MD_H -#define _MD_H - -/* function prototypes ********************************************************/ - -#endif /* _MD_H_ */ - - -/* - * These are local overrides for various environment variables in Emacs. - * Please do not remove this and leave it at the end of the file, where - * Emacs will automagically detect them. - * --------------------------------------------------------------------- - * Local variables: - * mode: c - * indent-tabs-mode: t - * c-basic-offset: 4 - * tab-width: 4 - * End: - */ -- 2.25.1