From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: inlinable functions instead of macros Date: Wed, 22 Aug 2012 10:31:29 -0400 Message-ID: References: <502EDAF3.6030005@cs.ucla.edu> <5034A654.2080909@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1345645916 7235 80.91.229.3 (22 Aug 2012 14:31:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2012 14:31:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 22 16:31:56 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T4ByF-00053A-FO for ged-emacs-devel@m.gmane.org; Wed, 22 Aug 2012 16:31:47 +0200 Original-Received: from localhost ([::1]:47406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4ByD-0001eJ-Uz for ged-emacs-devel@m.gmane.org; Wed, 22 Aug 2012 10:31:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4By8-0001dy-NS for emacs-devel@gnu.org; Wed, 22 Aug 2012 10:31:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4Bxz-0002cT-9v for emacs-devel@gnu.org; Wed, 22 Aug 2012 10:31:40 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:64888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4Bxz-0002cI-5V for emacs-devel@gnu.org; Wed, 22 Aug 2012 10:31:31 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09MCpcJ/2dsb2JhbABEDrQDgQiCFQEBBAFWIxALNBIUGA0kiBwFugmQRAOjM4FYgjBV X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="196431843" Original-Received: from 76-10-151-9.dsl.teksavvy.com (HELO pastel.home) ([76.10.151.9]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 22 Aug 2012 10:31:30 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id F06914EA3D; Wed, 22 Aug 2012 10:31:29 -0400 (EDT) In-Reply-To: <5034A654.2080909@cs.ucla.edu> (Paul Eggert's message of "Wed, 22 Aug 2012 02:28:52 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152744 Archived-At: >> Could some please check our inlinable functions and move any easserts in >> them to a macro (i.e. rename the function, replace the old name with >> a macro that does the assert and calls the inlinable function)? > I took a look at doing this, but it's problematic. No it's not: we had that a few weeks ago. I don't want to rely on execinfo for that. It was working simply and effectively and want it to work again simply and effectively, using plain C without relying on any special support in glibc. Stefan