aboutsummaryrefslogtreecommitdiff
path: root/gcc/machmode.h
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@integrable-solutions.net>2005-06-11 22:30:16 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2005-06-11 22:30:16 +0000
commit411e6c1e103bd087cce5a006b3e15622aa9ac83c (patch)
treef38572052408444c3df071733b0f79aa8e5b5e9f /gcc/machmode.h
parent364667a1ca156f8b6b5fb682cbd423108d6f223c (diff)
downloadgcc-411e6c1e103bd087cce5a006b3e15622aa9ac83c.zip
gcc-411e6c1e103bd087cce5a006b3e15622aa9ac83c.tar.gz
gcc-411e6c1e103bd087cce5a006b3e15622aa9ac83c.tar.bz2
rtl.h (to_rtx_code): Remove.
* rtl.h (to_rtx_code): Remove. * machmode.h (to_machine_mode): Likewise. * read-rtl.c (apply_mode_macro): Replace to_machine_mode with explicit cast. (apply_mode_maps): Likewise. (read_rtx_1): Likewise. (apply_code_macro): Replace to to_rtx_code with explicit cast. (check_code_macro): Likewise. (read_rtx_1): Likewise. From-SVN: r100846
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r--gcc/machmode.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h
index f8ff132..10016f8 100644
--- a/gcc/machmode.h
+++ b/gcc/machmode.h
@@ -25,10 +25,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
/* Make an enum class that gives all the machine modes. */
#include "insn-modes.h"
-/* Given MODE as integer value, get the corresponding enum machine_mode
- enumeration value. */
-#define to_machine_mode(MODE) ((enum machine_mode) (MODE))
-
/* Get the name of mode MODE as a string. */
extern const char * const mode_name[NUM_MACHINE_MODES];