aboutsummaryrefslogtreecommitdiff
path: root/gcc/reg-stack.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/reg-stack.cc')
-rw-r--r--gcc/reg-stack.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/reg-stack.cc b/gcc/reg-stack.cc
index 8820888..8ff018c 100644
--- a/gcc/reg-stack.cc
+++ b/gcc/reg-stack.cc
@@ -2989,8 +2989,7 @@ compensate_edge (edge e)
change_stack (after, &regstack, target_stack, EMIT_BEFORE);
- seq = get_insns ();
- end_sequence ();
+ seq = end_sequence ();
set_insn_locations (seq, e->goto_locus);
insert_insn_on_edge (seq, e);