aboutsummaryrefslogtreecommitdiff
path: root/gcc/gentarget-def.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gentarget-def.cc')
-rw-r--r--gcc/gentarget-def.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/gentarget-def.cc b/gcc/gentarget-def.cc
index a846a7c..d0a5578 100644
--- a/gcc/gentarget-def.cc
+++ b/gcc/gentarget-def.cc
@@ -319,9 +319,7 @@ main (int argc, const char **argv)
printf (" return insn;\n");
printf (" start_sequence ();\n");
printf (" emit (x, false);\n");
- printf (" rtx_insn *res = get_insns ();\n");
- printf (" end_sequence ();\n");
- printf (" return res;\n");
+ printf (" return end_sequence ();\n");
printf ("}\n");
#define DEF_TARGET_INSN(INSN, ARGS) \