From patchwork Sat May 9 04:08:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tbsaunde+gcc@tbsaunde.org X-Patchwork-Id: 470253 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 569591402A2 for ; Sat, 9 May 2015 14:10:59 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=x5TM3S06; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references; q=dns; s= default; b=FdbYEMCvkvuRtbGmrvNi+AMjRXo9qZ+PCotJ+XPVbcCUYcEziUUBW DU4WT74JUJaqfrf5Wyd1XCQAS1VyyRkoux/kU/+X1glJnLYyOpNwHT/PvQAzU2OB ELLZCszHCaaGvooEgWQCfl5RSjCcp1Bm20ac8ppKhAL730l6eRYgWo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references; s=default; bh=Uu5TeB1stkUyUG2tZBoTqH8JSGI=; b=x5TM3S06KSLIgCJmLZQUONBSR3NC Ok9hHh/DuNzYK43IQxakWqZn+f9W4jFwFtA3hAjFrMnD7EeqB4jGOVN4Q1Fq5rl+ RovNMUWrx5GXLddCa3ATklAKi5O2uTKuIdLHK2nDMXAYE98ywabm8iny+Lb0fgDK Gzv5ULV54wzBE6U= Received: (qmail 58952 invoked by alias); 9 May 2015 04:09:02 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 58845 invoked by uid 89); 9 May 2015 04:09:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: paperclip.tbsaunde.org Received: from tbsaunde.org (HELO paperclip.tbsaunde.org) (66.228.47.254) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 09 May 2015 04:09:00 +0000 Received: from iceball.corp.tor1.mozilla.com (unknown [66.207.208.102]) by paperclip.tbsaunde.org (Postfix) with ESMTPSA id 6EC7DC0B1 for ; Sat, 9 May 2015 04:08:59 +0000 (UTC) From: tbsaunde+gcc@tbsaunde.org To: gcc-patches@gcc.gnu.org Subject: [PATCH 13/25] make emit_debug_insn_before take a rtx_insn * Date: Sat, 9 May 2015 00:08:12 -0400 Message-Id: <1431144504-23213-14-git-send-email-tbsaunde+gcc@tbsaunde.org> In-Reply-To: <1431144504-23213-1-git-send-email-tbsaunde+gcc@tbsaunde.org> References: <1431144504-23213-1-git-send-email-tbsaunde+gcc@tbsaunde.org> X-IsSubscribed: yes From: Trevor Saunders gcc/ChangeLog: 2015-05-08 Trevor Saunders * emit-rtl.c (emit_debug_insn_before): Change argument type to rtx_insn *. * rtl.h: Adjust. --- gcc/ChangeLog | 6 ++++++ gcc/emit-rtl.c | 2 +- gcc/rtl.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b928d40..b59146f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2015-05-08 Trevor Saunders + * emit-rtl.c (emit_debug_insn_before): Change argument type to + rtx_insn *. + * rtl.h: Adjust. + +2015-05-08 Trevor Saunders + * emit-rtl.c (emit_note_before): Change argument type to rtx_insn *. * rtl.h: Adjust. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 6e70c58..d5e09c2 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -4880,7 +4880,7 @@ emit_debug_insn_before_setloc (rtx pattern, rtx before, int loc) /* Like emit_debug_insn_before_noloc, but set insn_location according to BEFORE. */ rtx_insn * -emit_debug_insn_before (rtx pattern, rtx before) +emit_debug_insn_before (rtx pattern, rtx_insn *before) { return emit_pattern_before (pattern, before, false, false, make_debug_insn_raw); diff --git a/gcc/rtl.h b/gcc/rtl.h index ee3ecca..80c0e5c 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2666,7 +2666,7 @@ extern rtx_insn *emit_jump_insn_before_setloc (rtx, rtx_insn *, int); extern rtx_insn *emit_call_insn_before (rtx, rtx_insn *); extern rtx_insn *emit_call_insn_before_noloc (rtx, rtx_insn *); extern rtx_insn *emit_call_insn_before_setloc (rtx, rtx_insn *, int); -extern rtx_insn *emit_debug_insn_before (rtx, rtx); +extern rtx_insn *emit_debug_insn_before (rtx, rtx_insn *); extern rtx_insn *emit_debug_insn_before_noloc (rtx, rtx); extern rtx_insn *emit_debug_insn_before_setloc (rtx, rtx, int); extern rtx_barrier *emit_barrier_before (rtx);