From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id E886438928ED; Wed, 8 Jun 2022 12:43:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E886438928ED Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] Merge #1205 X-Act-Checkin: gcc X-Git-Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: 21b9e1226cfbc4137a881a71c5e6f904fc5b364e X-Git-Newrev: 285aabdd3b2d8ee7c158eee34241ba52a31b19d3 Message-Id: <20220608124312.E886438928ED@sourceware.org> Date: Wed, 8 Jun 2022 12:43:12 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2022 12:43:13 -0000 https://gcc.gnu.org/g:285aabdd3b2d8ee7c158eee34241ba52a31b19d3 commit 285aabdd3b2d8ee7c158eee34241ba52a31b19d3 Merge: 21b9e1226cf 74f4ee8d38f Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Date: Wed May 4 12:17:08 2022 +0000 Merge #1205 1205: Take advantage of OBJ_TYPE_REF'S in dyn calls r=philberty a=philberty OBJ_TYPE_REF's are the gcc nodes that signify that this is a virtual call which gives a hint to the optimizers for devirtualization. This patch also enhaces the dyn object to hold an array of pointers instead of multiple name fields of addresses. Fixes #996 Co-authored-by: Philip Herron Diff: gcc/rust/backend/rust-compile-expr.cc | 103 ++++++++++++++++++---------------- gcc/rust/backend/rust-compile-expr.h | 12 ++-- gcc/rust/backend/rust-compile-type.cc | 22 +++----- gcc/rust/backend/rust-compile.cc | 18 ++++-- 4 files changed, 83 insertions(+), 72 deletions(-)