From patchwork Fri Oct 20 23:19:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 116544 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2223077qgn; Fri, 20 Oct 2017 16:25:04 -0700 (PDT) X-Received: by 10.200.40.146 with SMTP id i18mr9929918qti.79.1508541904057; Fri, 20 Oct 2017 16:25:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508541904; cv=none; d=google.com; s=arc-20160816; b=h8Uhg2nyG+PlE46qErzm5KoGQoaoHjvJeSwFJCjSjNShcKLm8VY09jAifkFlwP0hks b28Py9WRqNJzB0VswYOb2/oOFfScVTzgjAl+jImLeFNtYQZhcjlxatTHxR61AUJFF5Ey 3BiitmIe2hCVP5mfc1XNO4IoP+daMBpFOWWxQcUi7BNrpk6TCXmQUcOA7/Bvu+oYSs4Q vS/Lq5NFIlIcCi295jJyk4//PnoCt23cnNJ6bFFv1ivYKtipuHKdvnhqz7AwK0pOYm+L fbiNkraoIl8GUQcsOVJgocAO/lOqYMhSgy7m6bgx2jxSkHFMLLlonEoDwAUPdMQE2Y7J WIrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=kFvEQ6qml6AgYGHo+5Jq4rDGdfz/RVtH9I0kqQajv18=; b=zWNYqGvQIxmbLfc03TzPwNnINQ5j8x6NTUrBtnS51IiDPzZtw+X/TvjdcQg0VCbCGx 7y5HjFF4WCYbs+yP7LM+GvJrNI8/Il8fwIj/jSqOqm7QwgGGbqbAeYwAEaL/zTS5o2LH yWVEpGnw7Ve3bk3x/Zw5YvYOBxcInbHyZfYcUr67xYxrPVWfp/2M+rjwF0n1hsSrJhtY VbPit9a+glAJ7hojTOVNLV4k4UTcBPKQWbAyzTAdzzHl9CIUGdQBwlrU/7/qVgNxJpaO YP5CPxz3iRhf4+VjZUeBipTSOwbeTjpnEqPIOUAC9+WSAzrXcvBnimr55k1gnmgqfrks GAEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=e7VnBTEu; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id p29si1747510qkp.219.2017.10.20.16.25.03 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 20 Oct 2017 16:25:04 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=e7VnBTEu; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:55991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5gf0-0001Ce-0k for patch@linaro.org; Fri, 20 Oct 2017 19:25:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5gan-0005rO-3W for qemu-devel@nongnu.org; Fri, 20 Oct 2017 19:20:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5gak-0007Yz-FI for qemu-devel@nongnu.org; Fri, 20 Oct 2017 19:20:41 -0400 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:45629) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e5gak-0007Ya-8V for qemu-devel@nongnu.org; Fri, 20 Oct 2017 19:20:38 -0400 Received: by mail-pf0-x243.google.com with SMTP id d28so13076772pfe.2 for ; Fri, 20 Oct 2017 16:20:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kFvEQ6qml6AgYGHo+5Jq4rDGdfz/RVtH9I0kqQajv18=; b=e7VnBTEuijsrmA/VecmdwBMKQhQWeFhf0amjFhIUL5UZP1e4UTjGX3KUxxbPdp2/9f mxOVswT+uYZDE40z7q7lX1tLoGz6Bt6G8i6jUSvhIpR7+iIfS27YnEsfGEToP9HFTV6e H9KfOaMJTX34Drz3ZR20C8Nx5DJX3k4MxHtOg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kFvEQ6qml6AgYGHo+5Jq4rDGdfz/RVtH9I0kqQajv18=; b=QtZtpd+Jwgwq5EpLUmebz8N3RwKVaSmjeP0NDargp7MTDfjOuFbSzp3Biml717pK+A aAMi7Vjwv4aUMdx3/WVdyrHvus+r2SYTXwxL0AF1dUXb370Y4RCep1qCkVtjd0GQH6Og Teri6uIKmj9yk1xnyUJfSky6o+YlnL6a0sZTkO541qcajZ4i2jlMyg7k6jhKqStPiUhk /bU47I6FDuA3CzYWBbQq3yvqqf9kl1wC3P4xJ93FgLlGlJX9pxnubSG2D0WyIb28HO1a bz8QQspROM27LkN2mDRX/ciwG9s9yBghjYTMjtx/wh/mr7KeN1IL5AucugXWKYAcc8Uz oKew== X-Gm-Message-State: AMCzsaXXtJqNyf+vPVLuV/mr86lp5z6Mwo03HHb6PRP8x5pT9NTGfUfK KuPeIu666go4OxlYirE6EfHL8UVG3DI= X-Google-Smtp-Source: ABhQp+TeP/FnVw5F63xsHQYl1uWg2YNJoMPd/MOfUvPZXxt5UFejf9GpzVV0xkx/jARRxHV34wMBHg== X-Received: by 10.99.113.92 with SMTP id b28mr5876216pgn.42.1508541637120; Fri, 20 Oct 2017 16:20:37 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-165-104.tukw.qwest.net. [97.113.165.104]) by smtp.gmail.com with ESMTPSA id a17sm3532594pfk.173.2017.10.20.16.20.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Oct 2017 16:20:36 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 20 Oct 2017 16:19:38 -0700 Message-Id: <20171020232023.15010-8-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171020232023.15010-1-richard.henderson@linaro.org> References: <20171020232023.15010-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::243 Subject: [Qemu-devel] [PATCH v7 07/52] tcg: Return NULL temp for TCG_CALL_DUMMY_ARG X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pbonzini@redhat.com, cota@braap.org, f4bug@amsat.org, Richard Henderson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson Reviewed-by: Emilio G. Cota Signed-off-by: Richard Henderson --- tcg/tcg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.13.6 Reviewed-by: Philippe Mathieu-Daudé diff --git a/tcg/tcg.h b/tcg/tcg.h index fc4d1ed58b..5fcdec1fc5 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -731,7 +731,7 @@ extern bool parallel_cpus; static inline TCGTemp *arg_temp(TCGArg a) { - return &tcg_ctx.temps[a]; + return a == TCG_CALL_DUMMY_ARG ? NULL : &tcg_ctx.temps[a]; } static inline void tcg_set_insn_param(int op_idx, int arg, TCGArg v)