From patchwork Fri Nov 14 23:26:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Hubicka X-Patchwork-Id: 411046 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 41C5C1400AB for ; Sat, 15 Nov 2014 10:26:33 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=Mq/ak8JAufQ4UgXn9OV9w2mZvwHg7Ilv0/qNo9ZmciQVhQVEDumU4 QtPmQ11QMsF7+Lw5DbpjpnvSgyvwzpwJkQGgbkfz7y1rsnX+GyJU7aA+7bPJneWO HOSW4SwYxN6oh+nD1nVcfog/lDlzAC0Uc6vEfTWFyUFVWVyE0vPcqE= 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:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=J2eIK1pHkl7NXLUXdeN18ai70Nk=; b=vuf2FjIZ0pbrOouPin/7 ADUwvvWQEI5uOE9iDlJM/uEZCsMZKjhFpxx4LJVQ3+Q7rWXLWAkNv0tbQiqdtP8i VX3EVeyTQZhK1TeXejq3NquvxaKswhmL6+ymEqy4YLZkGJzZZlfknRA7bmMFYTHV 1xOSK9nsYu++R/4svh93I+Y= Received: (qmail 24559 invoked by alias); 14 Nov 2014 23:26:26 -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 24545 invoked by uid 89); 14 Nov 2014 23:26:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: nikam.ms.mff.cuni.cz Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 14 Nov 2014 23:26:24 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id F075E542BDD; Sat, 15 Nov 2014 00:26:20 +0100 (CET) Date: Sat, 15 Nov 2014 00:26:20 +0100 From: Jan Hubicka To: gcc-patches@gcc.gnu.org, mjambor@suse.cz Subject: Remove dead declarations from ipa-prop.h Message-ID: <20141114232620.GG12658@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Hi, this is leftover from the known type jump function removal. Comitted as obvious. * ipa-prop.h (ipa_known_type_data): Remove. (ipa_binfo_from_known_type_jfunc): Remove. Index: ipa-prop.h =================================================================== --- ipa-prop.h (revision 217589) +++ ipa-prop.h (working copy) @@ -64,17 +64,6 @@ IPA_JF_ANCESTOR /* represented by field ancestor */ }; -/* Structure holding data required to describe a known type jump function. */ -struct GTY(()) ipa_known_type_data -{ - /* Offset of the component of the base_type being described. */ - HOST_WIDE_INT offset; - /* Type of the whole object. */ - tree base_type; - /* Type of the component of the object that is being described. */ - tree component_type; -}; - struct ipa_cst_ref_desc; /* Structure holding data required to describe a constant jump function. */ @@ -543,7 +532,6 @@ vec ); struct cgraph_edge *ipa_make_edge_direct_to_target (struct cgraph_edge *, tree, bool speculative = false); -tree ipa_binfo_from_known_type_jfunc (struct ipa_jump_func *); tree ipa_impossible_devirt_target (struct cgraph_edge *, tree); /* Functions related to both. */