From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,8e3b3db66f3b0061 X-Google-Attributes: gid109fba,public X-Google-Thread: f4fd2,8e3b3db66f3b0061 X-Google-Attributes: gidf4fd2,public X-Google-Thread: fd443,8e3b3db66f3b0061 X-Google-Attributes: gidfd443,public X-Google-Thread: 103376,474d28ddf953b3c1 X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,8e3b3db66f3b0061 X-Google-Attributes: gid1014db,public X-Google-ArrivalTime: 1994-12-17 15:05:18 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!rutgers!mcrcr6!cmcl2!thecourier.cims.nyu.edu!thecourier.cims.nyu.edu!nobody Newsgroups: alt.lang.design,comp.lang.c,comp.lang.c++,comp.lang.lisp,comp.lang.ada Subject: Re: Reference Counting (was Re: Searching Method for Incremental Garbage Collection) Message-ID: <3cvi43$ov4@gnat.cs.nyu.edu> From: dewar@cs.nyu.edu (Robert Dewar) Date: 17 Dec 1994 15:36:19 -0500 References: Organization: Courant Institute of Mathematical Sciences NNTP-Posting-Host: gnat.cs.nyu.edu Xref: bga.com alt.lang.design:197 comp.lang.c:35221 comp.lang.c++:41739 comp.lang.lisp:4440 comp.lang.ada:8689 Date: 1994-12-17T15:36:19-05:00 List-Id: Bob says that most compilers return variable length objects on the stack. THat's a little misleading. What some compilers do is to return them on a secondary stack. It is a little tricky to return them on the primary stack, it requires a specialized calling sequence (similar to what alloca has to use), and in many ABI's, you can't do this without violating the standard calling sequence.