aboutsummaryrefslogtreecommitdiff
path: root/gcc/lra-remat.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lra-remat.cc')
-rw-r--r--gcc/lra-remat.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/lra-remat.cc b/gcc/lra-remat.cc
index 5f82319..ef50c5b 100644
--- a/gcc/lra-remat.cc
+++ b/gcc/lra-remat.cc
@@ -1180,8 +1180,7 @@ do_remat (void)
start_sequence ();
emit_insn (remat_pat);
- remat_insn = get_insns ();
- end_sequence ();
+ remat_insn = end_sequence ();
if (recog_memoized (remat_insn) < 0)
remat_insn = NULL;
cand_sp_offset = cand_id->sp_offset;