From patchwork Sun May 2 23:57:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 430514 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp2388827jao; Sun, 2 May 2021 16:58:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3yvuqoERORr8Jb6zvpFkCtEk5s8eqC6AL/7DZNU8sXV8s5nojJ7gEaaz7R+VGvujdxdUp X-Received: by 2002:a6b:7c0b:: with SMTP id m11mr12594512iok.9.1619999880810; Sun, 02 May 2021 16:58:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619999880; cv=none; d=google.com; s=arc-20160816; b=n93/n6r5Gh64k9dcLbufZYvXR0NVwvMvnB4dfDsjjcIU+zzEkVXtFVs6Jz/ghyaomQ hKlhgO/iWi+8WZg/fqIEOQXYSBGgWS45npTgB/21KOJMuOGTrZoCMNpdW2fZuECKzjrh fZLVG1TnZuJLSbbgby51dGs6f5a34Z3qDDQmeatZRPkKLFkSziNol3AomzlU/j3tMSyN 5h4iRxdg/BxKIeqrymJgrFgJNdn0QHzdpZ8iPVF53+wGZUQ219a1vZk52AnkoZNA86pS CqU70cui9keUagVY0+5o/g84BHm9Or0ePsKC/CSZpFUHke1i8o1yJy6Kq4BTIWdpZzZ9 bUXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=+SLOw4zsRtuPC9MYeuJNMGokzj+MHBcGdvFfOSgGj3c=; b=ozdWyLqjNI/zbEkTv8+7Lxb+g/ba3VLOX+kngymGGxuHDM+fitkZ/7xhIS9jm/C5U9 uxiJ3fognLN4Cd+pUIj4xgh2Dtia7IhTdSLi6vHbPTAJbk4bEElznji/ww8ivW6lV5Cl 9DDi36Gqm61L9zOWqiHak//yk0RLI1lqN4tIbfab4AZ1kTKh9R/xiJdfbv8f0HUJUrmV Oa2dxcPF7dNNS93uxIUxCerYKja76NDWF3mIyueQefhmisMS2HeOPOQz/LO1WTGLT50p 3/fE29ry//0f9XbC+CkaVoNG3hAID+ZZm7kf9H/1Qy1Nr4SEKL8noA2zu9EoXCVc6Ru1 oiNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=stlPEPy5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id l9si14362518ios.0.2021.05.02.16.58.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 02 May 2021 16:58:00 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=stlPEPy5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:52242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldLyK-0007Vx-6K for patch@linaro.org; Sun, 02 May 2021 19:58:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldLxt-0007TO-JR for qemu-devel@nongnu.org; Sun, 02 May 2021 19:57:33 -0400 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:54930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldLxs-0000WU-04 for qemu-devel@nongnu.org; Sun, 02 May 2021 19:57:33 -0400 Received: by mail-pj1-x102c.google.com with SMTP id g24so1297909pji.4 for ; Sun, 02 May 2021 16:57:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=+SLOw4zsRtuPC9MYeuJNMGokzj+MHBcGdvFfOSgGj3c=; b=stlPEPy5uQ9BGpmOgRwpaI7ggIE8FVCulQkiKP4u2+8/4bvChdjD7np47AwhzkMM3D 1zZx2FruFIb4wYuYHF07rl3krRNQ8hqO5lzv1nygODpPZjovJXtucILl8juSi2+T5x+d ZgmRb622liDsj34rZWAt4N4zXfR+zJ4r2sDBkQf1y/VtKLaNsNxQaDAgJbaihde00nIa Qmv4vD9GVFS74AbAolFEUiu7bgfIGnL85vNcqOZUM50CC3kE7iDIpY4TrgiOKdrbJinx umdK5mIqSwhKnS43KQQfwizbE9QPn1LcupcxSeZOXzPP5wU8fZF83r2D/Y5lYiLZBGYc P74Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+SLOw4zsRtuPC9MYeuJNMGokzj+MHBcGdvFfOSgGj3c=; b=AAicinZ41oo4qZ6vnwHhjxPPetNav5dNZP6AARwSThN3iYkTQWP1Yfqqq0mrPN6qCv DKpzMC+10GFEBaHIgDDOnoW0udJjUgKKApoc/WR/CmbGXK52PfqmvIQHiDoL/j3/0yMJ Qy2aOd8oi1tjgFo21+4yNMNmu+haH0K2KSizE6LhWC1KTuvELjxEBMgdsL54L9chsVVb UGR9hgCB88SqKZzSij8vnMKS3THVvXi6usRey79LrMyyxH6PJyzgZaG8Nq6Cyw9bAXNH auL0hoe7PEgvw1Uy1n8e/Ra+kl7uBrSTo9APxAHsfOYSLoWfWW+bmSuAA1Tj8hyLNd9h rNCw== X-Gm-Message-State: AOAM531gYfAi7BdUaXddYYr4QxPxhRfQhADIfbHnJ2Bi9Ncw091MgGwM I6RAkpIa3tFohoMuQwrF0Em3Tb2ZVb3cXw== X-Received: by 2002:a17:90b:514:: with SMTP id r20mr27903182pjz.193.1619999850920; Sun, 02 May 2021 16:57:30 -0700 (PDT) Received: from localhost.localdomain ([71.212.144.24]) by smtp.gmail.com with ESMTPSA id t184sm8098054pgt.32.2021.05.02.16.57.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 May 2021 16:57:30 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v6 03/26] accel/tcg/plugin-gen: Drop inline markers Date: Sun, 2 May 2021 16:57:04 -0700 Message-Id: <20210502235727.1979457-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210502235727.1979457-1-richard.henderson@linaro.org> References: <20210502235727.1979457-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Let the compiler decide on inlining. Signed-off-by: Richard Henderson --- accel/tcg/plugin-gen.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) -- 2.25.1 Reviewed-by: Philippe Mathieu-Daudé diff --git a/accel/tcg/plugin-gen.c b/accel/tcg/plugin-gen.c index c3dc3effe7..eb99be52d0 100644 --- a/accel/tcg/plugin-gen.c +++ b/accel/tcg/plugin-gen.c @@ -161,9 +161,8 @@ static void gen_empty_mem_helper(void) tcg_temp_free_ptr(ptr); } -static inline -void gen_plugin_cb_start(enum plugin_gen_from from, - enum plugin_gen_cb type, unsigned wr) +static void gen_plugin_cb_start(enum plugin_gen_from from, + enum plugin_gen_cb type, unsigned wr) { TCGOp *op; @@ -180,7 +179,7 @@ static void gen_wrapped(enum plugin_gen_from from, tcg_gen_plugin_cb_end(); } -static inline void plugin_gen_empty_callback(enum plugin_gen_from from) +static void plugin_gen_empty_callback(enum plugin_gen_from from) { switch (from) { case PLUGIN_GEN_AFTER_INSN: @@ -514,9 +513,8 @@ static bool op_rw(const TCGOp *op, const struct qemu_plugin_dyn_cb *cb) return !!(cb->rw & (w + 1)); } -static inline -void inject_cb_type(const GArray *cbs, TCGOp *begin_op, inject_fn inject, - op_ok_fn ok) +static void inject_cb_type(const GArray *cbs, TCGOp *begin_op, + inject_fn inject, op_ok_fn ok) { TCGOp *end_op; TCGOp *op;