optimizer.
svn path=/trunk/yasm/; revision=364
src/preprocs/Makefile
src/preprocs/raw/Makefile
src/optimizers/Makefile
- src/optimizers/dbg/Makefile
+ src/optimizers/basic/Makefile
src/objfmts/Makefile
src/objfmts/dbg/Makefile
src/tests/Makefile
src/preprocs/Makefile
src/preprocs/raw/Makefile
src/optimizers/Makefile
- src/optimizers/dbg/Makefile
+ src/optimizers/basic/Makefile
src/objfmts/Makefile
src/objfmts/dbg/Makefile
src/tests/Makefile
};
/* Available optimizers */
-extern optimizer dbg_optimizer;
+extern optimizer basic_optimizer;
#endif
# $IdPath$
-SUBDIRS = dbg
+SUBDIRS = basic
/*
- * Debugging optimizer (used to debug optimizer module interface)
+ * Basic optimizer (equivalent to the NASM 2-pass 'no optimizer' design)
*
* Copyright (C) 2001 Peter Johnson
*
/* Define optimizer structure -- see optimizer.h for details */
-optimizer dbg_optimizer = {
- "Trace of all info passed to optimizer module",
- "dbg"
+optimizer basic_optimizer = {
+ "Only the most basic optimizations",
+ "basic"
};
/*
- * Debugging optimizer (used to debug optimizer module interface)
+ * Basic optimizer (equivalent to the NASM 2-pass 'no optimizer' design)
*
* Copyright (C) 2001 Peter Johnson
*
/* Define optimizer structure -- see optimizer.h for details */
-optimizer dbg_optimizer = {
- "Trace of all info passed to optimizer module",
- "dbg"
+optimizer basic_optimizer = {
+ "Only the most basic optimizations",
+ "basic"
};
+++ /dev/null
-# $IdPath$
-
-noinst_LIBRARIES = liboptimizer.a
-
-liboptimizer_a_SOURCES = \
- optimizer.c
-
-INCLUDES = \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/intl
-
-CFLAGS = @ANSI_CFLAGS@
+++ /dev/null
-/*
- * Debugging optimizer (used to debug optimizer module interface)
- *
- * Copyright (C) 2001 Peter Johnson
- *
- * This file is part of YASM.
- *
- * YASM 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 of the License, or
- * (at your option) any later version.
- *
- * YASM 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-#include "util.h"
-RCSID("$IdPath$");
-
-#include "optimizer.h"
-
-
-/* Define optimizer structure -- see optimizer.h for details */
-optimizer dbg_optimizer = {
- "Trace of all info passed to optimizer module",
- "dbg"
-};
};
/* Available optimizers */
-extern optimizer dbg_optimizer;
+extern optimizer basic_optimizer;
#endif
# $IdPath$
-SUBDIRS = dbg
+SUBDIRS = basic
/*
- * Debugging optimizer (used to debug optimizer module interface)
+ * Basic optimizer (equivalent to the NASM 2-pass 'no optimizer' design)
*
* Copyright (C) 2001 Peter Johnson
*
/* Define optimizer structure -- see optimizer.h for details */
-optimizer dbg_optimizer = {
- "Trace of all info passed to optimizer module",
- "dbg"
+optimizer basic_optimizer = {
+ "Only the most basic optimizations",
+ "basic"
};
/*
- * Debugging optimizer (used to debug optimizer module interface)
+ * Basic optimizer (equivalent to the NASM 2-pass 'no optimizer' design)
*
* Copyright (C) 2001 Peter Johnson
*
/* Define optimizer structure -- see optimizer.h for details */
-optimizer dbg_optimizer = {
- "Trace of all info passed to optimizer module",
- "dbg"
+optimizer basic_optimizer = {
+ "Only the most basic optimizations",
+ "basic"
};
+++ /dev/null
-# $IdPath$
-
-noinst_LIBRARIES = liboptimizer.a
-
-liboptimizer_a_SOURCES = \
- optimizer.c
-
-INCLUDES = \
- -I$(top_srcdir)/src \
- -I$(top_builddir)/intl
-
-CFLAGS = @ANSI_CFLAGS@
+++ /dev/null
-/*
- * Debugging optimizer (used to debug optimizer module interface)
- *
- * Copyright (C) 2001 Peter Johnson
- *
- * This file is part of YASM.
- *
- * YASM 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 of the License, or
- * (at your option) any later version.
- *
- * YASM 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-#include "util.h"
-RCSID("$IdPath$");
-
-#include "optimizer.h"
-
-
-/* Define optimizer structure -- see optimizer.h for details */
-optimizer dbg_optimizer = {
- "Trace of all info passed to optimizer module",
- "dbg"
-};