summaryrefslogtreecommitdiff
path: root/gcc/machmode.h
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-11 22:30:16 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-11 22:30:16 +0000
commite33e40312c042b54474fcc0280a62c44cf14a827 (patch)
treef38572052408444c3df071733b0f79aa8e5b5e9f /gcc/machmode.h
parent8302a4a2fbb7e80c83a3840d5e4ce16628eb44f2 (diff)
downloadgcc-e33e40312c042b54474fcc0280a62c44cf14a827.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100846 138bc75d-0d04-0410-961f-82ee72b054a4
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 f8ff1323729..10016f86ac7 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];