aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-07-29 21:48:03 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-07-29 21:48:03 +0200
commit0f953f83c264764697ed852c41c5cfca66147883 (patch)
treedf50901c9debec4fa8d492287c8d48e3d498b2d3 /gcc/rtl.h
parent8b522befbf2eed8d9ce2f51098bc152787e16ead (diff)
downloadgcc-0f953f83c264764697ed852c41c5cfca66147883.zip
gcc-0f953f83c264764697ed852c41c5cfca66147883.tar.gz
gcc-0f953f83c264764697ed852c41c5cfca66147883.tar.bz2
revert: rtl.def (NOTE): Swap operands 4 and 5.
Revert: * rtl.def (NOTE): Swap operands 4 and 5. * rtl.h (NOTE_DATA, NOTE_DELETED_LABEL_NAME, NOTE_BLOCK, NOTE_EH_HANDLER, NOTE_BASIC_BLOCK, NOTE_VAR_LOCATION, NOTE_KIND): Adjust accordingly. * gengtype.c (adjust_field_rtx_def): Swap operands 4 and 5 of NOTEs. From-SVN: r162692
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 4dc9b48..5460890 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -871,17 +871,17 @@ extern const char * const reg_note_name[];
*/
/* Opaque data. */
-#define NOTE_DATA(INSN) RTL_CHECKC1 (INSN, 5, NOTE)
-#define NOTE_DELETED_LABEL_NAME(INSN) XCSTR (INSN, 5, NOTE)
+#define NOTE_DATA(INSN) RTL_CHECKC1 (INSN, 4, NOTE)
+#define NOTE_DELETED_LABEL_NAME(INSN) XCSTR (INSN, 4, NOTE)
#define SET_INSN_DELETED(INSN) set_insn_deleted (INSN);
-#define NOTE_BLOCK(INSN) XCTREE (INSN, 5, NOTE)
-#define NOTE_EH_HANDLER(INSN) XCINT (INSN, 5, NOTE)
-#define NOTE_BASIC_BLOCK(INSN) XCBBDEF (INSN, 5, NOTE)
-#define NOTE_VAR_LOCATION(INSN) XCEXP (INSN, 5, NOTE)
+#define NOTE_BLOCK(INSN) XCTREE (INSN, 4, NOTE)
+#define NOTE_EH_HANDLER(INSN) XCINT (INSN, 4, NOTE)
+#define NOTE_BASIC_BLOCK(INSN) XCBBDEF (INSN, 4, NOTE)
+#define NOTE_VAR_LOCATION(INSN) XCEXP (INSN, 4, NOTE)
/* In a NOTE that is a line number, this is the line number.
Other kinds of NOTEs are identified by negative numbers here. */
-#define NOTE_KIND(INSN) XCINT (INSN, 4, NOTE)
+#define NOTE_KIND(INSN) XCINT (INSN, 5, NOTE)
/* Nonzero if INSN is a note marking the beginning of a basic block. */
#define NOTE_INSN_BASIC_BLOCK_P(INSN) \