aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@gcc.gnu.org>2001-02-28 17:53:35 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2001-02-28 17:53:35 +0000
commit5274639a7c33f4a7bfd51621200cbfae5330f1c8 (patch)
treef61b82051d5216e592009b2132c13301a0bdce4f
parent6f45f005917d5c1d3223a437584b4fd66751a39c (diff)
downloadgcc-5274639a7c33f4a7bfd51621200cbfae5330f1c8.zip
gcc-5274639a7c33f4a7bfd51621200cbfae5330f1c8.tar.gz
gcc-5274639a7c33f4a7bfd51621200cbfae5330f1c8.tar.bz2
Undo the accidental checkin :(
From-SVN: r40129
-rw-r--r--gcc/dwarf2out.c33
-rw-r--r--gcc/final.c6
2 files changed, 0 insertions, 39 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 7bf8594..a34aa58 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -1743,39 +1743,6 @@ dwarf2out_frame_debug (insn)
cfa_store = cfa;
cfa_temp.reg = -1;
cfa_temp.offset = 0;
-
- n_alternate_entry_points = 0;
- for (insn = get_insns (); insn; insn = NEXT_INSN (insn))
- if (GET_CODE (insn) == CODE_LABEL && LABEL_ALTERNATE_NAME (insn))
- n_alternate_entry_points ++;
-
- /* For each alternate entry point amit an store_state command. We will pop
- the state once we will reach it. */
- while (n_alternate_entry_points--)
- {
- register dw_cfi_ref xcfi;
-
- /* Set the location counter to the new label. */
- xcfi = new_cfi ();
- xcfi->dw_cfi_opc = DW_CFA_remember_state;
- add_fde_cfi (NULL, xcfi);
- }
- return;
- }
- /* An alternate entry point. Pop the state we pushed during initialization
- and re-initialize our tables. */
- if (GET_CODE (insn) == CODE_LABEL && LABEL_ALTERNATE_NAME (insn))
- {
- register dw_cfi_ref xcfi;
- label = dwarf2out_cfi_label ();
-
- /* On entry, the Canonical Frame Address is at SP. */
- dwarf2out_def_cfa (label, STACK_POINTER_REGNUM, INCOMING_FRAME_SP_OFFSET);
-
- /* Restore the frame state we had right before entering function. */
- xcfi = new_cfi ();
- xcfi->dw_cfi_opc = DW_CFA_restore_state;
- add_fde_cfi (label, xcfi);
return;
}
diff --git a/gcc/final.c b/gcc/final.c
index 7a8e714..70d6add 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -2332,12 +2332,6 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
break;
case CODE_LABEL:
-#if defined (DWARF2_UNWIND_INFO)
- /* If we push arguments, we need to check all insns for stack
- adjustments. */
- if (dwarf2out_do_frame ())
- dwarf2out_frame_debug (insn);
-#endif
/* The target port might emit labels in the output function for
some insn, e.g. sh.c output_branchy_insn. */
if (CODE_LABEL_NUMBER (insn) <= max_labelno)