From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 5AC7E6EB727; Thu, 23 Nov 2023 09:33:47 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 5AC7E6EB727 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1700721227; bh=dvYSxmk+imswkis6idHFHqX7gYvI/b3fzORLZxdNd0A=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=d4Do2/k27XASl4fKxxblciz591Th/GKBhKJh4P9lXgN/sZ09/WYwnxWIHw/oraN/Z vizZXR6q5b6tCDH7Uh7OGn9wxuIVkJyiW33hc61pACu3hLwqDvvFoAsn4kc5ZEquXp I0UVFVYtZuCiRQX9hKDaFCmYwSCGrB+cfror35X0= Received: from smtp55.i.mail.ru (smtp55.i.mail.ru [95.163.41.93]) (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 dev.tarantool.org (Postfix) with ESMTPS id 2B2A16EB727 for ; Thu, 23 Nov 2023 09:33:46 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 2B2A16EB727 Received: by smtp55.i.mail.ru with esmtpa (envelope-from ) id 1r63HU-00Ejjh-37; Thu, 23 Nov 2023 09:33:45 +0300 Date: Thu, 23 Nov 2023 06:29:20 +0000 To: Maksim Kokryashkin Message-ID: References: <20231025114047.55743-1-max.kokryashkin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231025114047.55743-1-max.kokryashkin@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD92D71B79D2A671AE6E99A5086F57E08E078AC689DC0A90E8F182A05F538085040BABE8D16160F4C6DC3D7F15409003D005E462AF16A0CA95CD7D05B3941C87C2A X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE72F22E6DC541F75D9EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637AAEFEF2B38A4D0058638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D873AD93378A10BBD591EACC18CEF3ED8C117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCC908CD1B87A134A2A471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352026055571C92BF10FF6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA73AA81AA40904B5D9A18204E546F3947CFE4D9CDE3FF759CFAD7EC71F1DB884274AD6D5ED66289B523666184CF4C3C14F6136E347CC761E07725E5C173C3A84C348036203C76FF0F0BA3038C0950A5D36B5C8C57E37DE458B330BD67F2E7D9AF16D1867E19FE14079C09775C1D3CA48CF4964A708C60C975A1DD303D21008E298D5E8D9A59859A8B6B372FE9A2E580EFC725E5C173C3A84C3A1C30C8AFC676C8B35872C767BF85DA2F004C90652538430E4A6367B16DE6309 X-C1DE0DAB: 0D63561A33F958A56138DCE6661A65578CBE1DA67ABB1A93FC7F46EFFC1FFB31F87CCE6106E1FC07E67D4AC08A07B9B0BFD98ABA943BD70BCB5012B2E24CD356 X-C8649E89: 1C3962B70DF3F0ADBF74143AD284FC7177DD89D51EBB7742424CF958EAFF5D571004E42C50DC4CA955A7F0CF078B5EC49A30900B95165D347D10A9FCB2A62DFE8C06BC690DCC7A113D3B76309B6984582BBCD0406F343D68E398821DAF88188D1D7E09C32AA3244CE83B8D820A20FA74BD3FDEFC7ED82E23F94338140B71B8EEED9A463B7D0AAFF65DA084F8E80FEBD376A4ED3E9341DC2FCD72808BE417F3B9E0E7457915DAA85F X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojOz05VK5QHNqdecs60qafxA== X-Mailru-Sender: 2FEBA92C8E508479FE7B9A1DF348D5314F8A712061EFCA6DB0533450DFB43E64A6CC786ABFA4B4872326FE6F2A341ACE0FB9F97486540B4CD9E8847AB8CFED4D9ABF8A61C016C2CFB0DAF586E7D11B3E67EA787935ED9F1B X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit] Prevent compile of __concat with tailcall to fast function. X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Igor Munkin via Tarantool-patches Reply-To: Igor Munkin Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Max, I've checked the patchset into all long-term branches in tarantool/luajit and bumped a new version in master, release/2.11 and release/2.10. On 25.10.23, Maksim Kokryashkin via Tarantool-patches wrote: > From: Mike Pall > > E.g. __concat = function() return setmetatable(...) end > Reported by Fezile Manana. > > (cherry-picked from commit 75ee3a6159f1831fa57992df3caf5a2c303c281a) > > During the recording of concat with tailcall to fast function, > the fast function recording is postponed. This implementation > may lead to the absence of side effects from fast-function and > incorrect behavior as a result. For a comprehensive example, > see the comment in the test. > > Maxim Kokryashkin: > * added the description and the test for the problem > > Part of tarantool/tarantool#9145 > --- > Branch: https://github.com/tarantool/luajit/tree/fckxorg/lj-690-concat-tail-call > PR: https://github.com/tarantool/tarantool/pull/9304 > Issue: https://github.com/LuaJIT/LuaJIT/issues/690 > > src/lj_record.c | 3 ++ > .../lj-690-concat-tail-call.test.lua | 34 +++++++++++++++++++ > 2 files changed, 37 insertions(+) > create mode 100644 test/tarantool-tests/lj-690-concat-tail-call.test.lua > > -- > 2.39.3 (Apple Git-145) > -- Best regards, IM