From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UFHVM0dq92bl2gAA62LTzQ:P1 (envelope-from ) for ; Sat, 28 Sep 2024 04:30:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UFHVM0dq92bl2gAA62LTzQ (envelope-from ) for ; Sat, 28 Sep 2024 04:30:31 +0200 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=P30xUxws; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=00mRMyQz; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1727490631; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:list-id: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=gXl0RM/sRbbrRAQ+5bZWUMqs+U6x+lxJvakwABr+xow=; b=h1CkVIyK5jsSb4ib+ZnMY8unicjcObHK/jYxClojD84AixHEamTdlhi9NmJ4Dje+togv3z UZIgzWFphwWGFd3RtXtniFAVxzWXYikLEe3Ip7rGn5CIgGpTKtRWc8sarZmS0KnD6kiDCH 3GqzqovmtoCt2MwaUcFa/Vpn7VnduKzUeuC6DEiiPRnzbiwLjoCqPMOU70IHE8OUVDiyQi ltpfHTnonYfMX3KOdlcyMyFIrT8JtEH/c+MzBpo1wyWjCR2jG0NOI5Yk8pwMkCar6a+V1r CGPPXKSkPm53swiFc9SxmipuozWuNgbr8+egYqhCArOoVMa/b1zKIE/7v989Gw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=P30xUxws; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=00mRMyQz; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht ARC-Seal: i=1; s=key1; d=johnnyrichard.com; t=1727490631; a=rsa-sha256; cv=none; b=2VjV84A+Pj3xLRcyYe+MXHyVo/O1m6g/sozI/v2UfDNgN3/W/sB4vEy49zdYEulaBHVG2Q ldbNFq2V6tXV38iIbTp2lc1UnJ05eaT457NPx4qI+uWm6zFM31m0KJQ3/TTJom+D/WI4Oz NgVI0jLC7YQCIotwl5BY/9+ogvoG40o3QC7/hrSrBs5w9WCKt8u7yK7N9yRf7AnrnygFRi BAVuqb6zA+Pp2UC+1/KAqm1zseOgGKvtTg1v4bYaowLiJMf0zHWNjtOYf20a7yq1OurEvf LMP8oaSZD5smdNyPyroa6pTV6R4JhkZpSDNt2dBsTdtRb9UKzAQKpr0T/moTMA== Received: from mail-a.sr.ht (mail-a.sr.ht [46.23.81.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6007C8507B for ; Sat, 28 Sep 2024 04:30:30 +0200 (CEST) DKIM-Signature: a=rsa-sha256; bh=OxnR/RmzskfL2Oi2tIihaxYf37Tcb2rY+Uv1BGKvKdQ=; c=simple/simple; d=lists.sr.ht; h=From:To:Cc:Subject:Date:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1727490630; v=1; b=P30xUxwsYI6UZFOzv83BUCJFdyEEbSMfgYh31jozkuqdeCKTgLZNGvyRZCS6J3qqutSRBsXF 6q/4VrEY/XOCdkJ2MA9TQOvwm7adX3AqeDjY7MEVrbPMm8pkkYxE/QyGWDxlNGFo/heETcYD13t bclcLT4c6DVrj1T6HV360aI3EhKrDuO99S0bjUDoSWhss0Ie2lNh/YDYf42y9mC4YHDrk/+k2BK lZkcs2nI9z3GIG3/hVmafH/kA8sGPqRi9fG8jit382R57jtdx1Wc3LA3EOXMLa2KkGYLXOve03N LEBAgq3DHw6uXCFkJTVTCumA5MUy4ff21vdPYJRqIXYVg== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 2A1DA20332 for ; Sat, 28 Sep 2024 02:30:30 +0000 (UTC) Received: from out-178.mta0.migadu.com (out-178.mta0.migadu.com [91.218.175.178]) by mail-a.sr.ht (Postfix) with ESMTPS id BDA47202E2 for <~johnnyrichard/olang-devel@lists.sr.ht>; Sat, 28 Sep 2024 02:30:28 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1727490627; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=gXl0RM/sRbbrRAQ+5bZWUMqs+U6x+lxJvakwABr+xow=; b=00mRMyQzPdO+43kA+v0byYmo4YGfHhjTvlr4AVCskeG6vrpZpEXcNzwhPAOGjKAhkZ/Ore 8CRivUiofPeNQUVWGlUu80hLrG2qaRD8DHB6bM1CfPBkWMNd6xPtFqkxwE12T5q3s4noeu G2FZU4Nm3ClzDiNN6YwLhjRYwcrbCV3yAIhu7iPT1rRD80NplirKiVDaT9gVzOSKCZ5NZy zXqUlK4ZNV3zy/tlen1tpC326p1UA5f8ZCiWjavLzfnuCYkzrCCs2txmm4VHgwUmEXG3Ek HWYSfQZNGtNyw/wKGZ9DOhudYB/QyOkgGI/SkNXqwkLdaP766BOfKIxJPx9GiQ== From: Johnny Richard To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Johnny Richard Subject: [PATCH olang v1 0/2] codegen: x64: implement function call Date: Sat, 28 Sep 2024 06:29:26 +0200 Message-ID: <20240928043016.104228-1-johnny@johnnyrichard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Unsubscribe: List-Subscribe: List-Archive: Archived-At: List-Post: List-ID: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel.lists.sr.ht> Sender: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel@lists.sr.ht> X-Migadu-Flow: FLOW_IN X-Migadu-Country: NL X-Migadu-Queue-Id: 6007C8507B X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.80 X-Spam-Score: -5.80 X-TUID: 6AGSwR0gNEm6 Johnny Richard (2): ast: remove anonymous union on ast_node_t codegen: x64: implement function call src/ast.h | 37 +++-- src/checker.c | 6 +- src/codegen_linux_x86_64.c | 268 ++++++++++++++++++++++++++++++-- tests/olc/0028_function_call.ol | 10 +- 4 files changed, 285 insertions(+), 36 deletions(-) base-commit: 76f8cc2aa8df6bd53fadb4afe012798e5f4c60fe -- 2.46.0