From patchwork Mon Oct 16 17:25:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 115946 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp3944743qgn; Mon, 16 Oct 2017 10:38:54 -0700 (PDT) X-Received: by 10.55.220.2 with SMTP id v2mr15084868qki.64.1508175534716; Mon, 16 Oct 2017 10:38:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508175534; cv=none; d=google.com; s=arc-20160816; b=ULRLDGd4+7PnPqcfQTmmsiKwOv2gIYhazDHbqAtO7ASpcGxMck0tCbMcqq7kQvzXyF TVVfjN5cTww15PLIfKJ3UuasdHUPPmNUw1EluCVxeDumKC1VR9usbKTvdkmxCCposG+S 9HuuNN6RZxnilOdFCTLggAu49C+8riDkXH/8ojGIft7Q5SHSvKPBQFwemoKiau6VqeWG MoiN1vhbbfJ1SYgR5wPz3/9oIUhuc5mxEciX8iTPwwSdD7/SYYJdbQiAtht0i9Cv/nEb M3MGUHDXcsw8cIKmAZhJ05dlw0XMPvmsZohpM1KipMQBD1iwG8LboJb+HpgP6Fo+P3Vo Aheg== 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=n7xf7QNlSVj2bkYrPVOnOik/BWlhugDl/Dbkdra9CYA=; b=KmKt5xYhHl2hfB+p+re6pckWMO2fqyUjqVaym6DmIpjmwKmqkjEbg8oP2+xucqVK1Q vOiF3lcgunP5rcNbIFqqyBY+hBOCkPCKpivWPzPNCRwKTPdid8Isp0Q5QvhXErXBwgcE RTLlRKz47BF0KYxF0Tlx7koVdE+x+IpOAPOvj+NuNFvyXhlLu6Yqkdn2yvbRBzcfT9pD XbRMmvfBBQJm/79RpDQW6P+aroX1SJk5GmCyrA3tXyZGhZx0/fKHQ/AjN39+9lzSAAsZ rpv1WPYG24ii2PzSeNJs4WfG8P+LmL1Y8V4XcH2xhDbsXNQ1CfcVV0HESKKL3qALYLpY kZgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=aSVIPAEl; 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 m8si449750qti.319.2017.10.16.10.38.54 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 16 Oct 2017 10:38:54 -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=aSVIPAEl; 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]:34343 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e49Lo-00047O-M8 for patch@linaro.org; Mon, 16 Oct 2017 13:38:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e499n-0001yQ-EP for qemu-devel@nongnu.org; Mon, 16 Oct 2017 13:26:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e499k-0003Kf-9t for qemu-devel@nongnu.org; Mon, 16 Oct 2017 13:26:27 -0400 Received: from mail-pg0-x230.google.com ([2607:f8b0:400e:c05::230]:51119) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e499k-0003K5-3u for qemu-devel@nongnu.org; Mon, 16 Oct 2017 13:26:24 -0400 Received: by mail-pg0-x230.google.com with SMTP id y7so7341944pgb.7 for ; Mon, 16 Oct 2017 10:26:24 -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=n7xf7QNlSVj2bkYrPVOnOik/BWlhugDl/Dbkdra9CYA=; b=aSVIPAEl93KDWFL6gfB33q07nClULrkwCFLkmxdSf9Me3gHt4pgTuerj/+Jl36arWN xayPFyO9FoKMOQ8Q9Tt72WYT4fPfU37AhEz/oIcusJ6xSmTvTGMMCQRD5539dRA5K3/B 5vdY4wnTVy0tqnOZgFbL6vLlmea1AozQ4GZ6k= 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=n7xf7QNlSVj2bkYrPVOnOik/BWlhugDl/Dbkdra9CYA=; b=HKRPSpaotnAC0M2Bg1I00v0dJfx9KO+LQfPFvWddKIyS1QFbji7C+1F1Aj79SesWG4 UhO+LBUcwQ0mRONyvloTR+1aBuRsYHS65zMnkPt++1m217Z1RAoGBcNgG1g3pJ0QZ1rg MVAQ/5kzLaoJXWKqGcM7fCV8/FJLujurK5qNIpGFYxTCJgJpL3eiHwxeikg3GsHKsqum ayDdmagFze4vkrL/SJ9kJ8YW92cPhQct9uif+K5Z87Pk4YtYjxq+KCNVRE4bU2KYAObl pm2Fdn/iH6tjZKUYczzYLs63rlPGJerhR7jY5j6/ehNjBh+R+ucJSJo4x2nx7ZsbQ+JV xA8A== X-Gm-Message-State: AMCzsaUEjI6XaI8PTyz8FjLwcB7GcZQ92loxXNWeliW71icJiY6lALaz 3tnDiWZR27yUdJdAEsm2kuNzx7r9oKc= X-Google-Smtp-Source: ABhQp+TyxYeggg1Of0s7DakJyojc0/1J5axie+KzV/2zoDpC2W+ywFb1ptZJvkYq8i9qU+3aXgosLw== X-Received: by 10.101.81.70 with SMTP id g6mr6364030pgq.97.1508174783018; Mon, 16 Oct 2017 10:26:23 -0700 (PDT) Received: from cloudburst.twiddle.net (97-126-104-76.tukw.qwest.net. [97.126.104.76]) by smtp.gmail.com with ESMTPSA id i187sm5594249pfc.96.2017.10.16.10.26.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Oct 2017 10:26:21 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 16 Oct 2017 10:25:26 -0700 Message-Id: <20171016172609.23422-8-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171016172609.23422-1-richard.henderson@linaro.org> References: <20171016172609.23422-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:c05::230 Subject: [Qemu-devel] [PATCH v6 07/50] 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: cota@braap.org, Richard Henderson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson Signed-off-by: Richard Henderson --- tcg/tcg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.13.6 Reviewed-by: Emilio G. Cota 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)