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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2308afbbe4ecec0b X-Google-Attributes: gid103376,public From: Hyman Rosen Subject: Re: What is a Display ? (was: Subverting 'Access for Sub-programs) Date: 1999/08/05 Message-ID: #1/1 X-Deja-AN: 509379337 Sender: hymie@calumny.jyacc.com References: <37A71EF1.2201@dera.gov.uk> <37A7FDE8.4F5@dera.gov.uk> <7o9vrv$qgt$1@wanadoo.fr> <7oc5ih$6mb$1@wanadoo.fr> <7occq3$g9v$1@nnrp1.deja.com> <7ocra4$s8o$1@nnrp1.deja.com> <1999Aug5.175752.1@eisner> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@panix.com X-Trace: news.panix.com 933897568 1577 209.49.126.226 (5 Aug 1999 23:59:28 GMT) Organization: PANIX Public Access Internet and UNIX, NYC Mime-Version: 1.0 User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3 NNTP-Posting-Date: 5 Aug 1999 23:59:28 GMT Newsgroups: comp.lang.ada Date: 1999-08-05T23:59:28+00:00 List-Id: kilgallen@eisner.decus.org (Larry Kilgallen) writes: > What is a Display ? A display is an array of frame pointers. It is as large as the static nesting depth of the most deeply nested procedure of the program. Each frame pointer in the display points to the stack frame of the most recently called procedure at the static nesting depth of its index. Its use allows local variables in enclosing procedures to be accessed with a single extra indirection, as opposed to static links which require chaining backwards for each level. Since such access tends to be rare, static links are probably better.