Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.iecc.com!nerds-end From: Yakov Z Newsgroups: comp.compilers Subject: grab the continuation at specific point in a program Date: Sat, 9 Jun 2012 10:07:57 -0700 (PDT) Organization: Compilers Central Lines: 10 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <12-06-025@comp.compilers> NNTP-Posting-Host: news.iecc.com X-Trace: leila.iecc.com 1339394899 49282 64.57.183.58 (11 Jun 2012 06:08:19 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Mon, 11 Jun 2012 06:08:19 +0000 (UTC) Keywords: optimize, question Posted-Date: 11 Jun 2012 02:08:19 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com X-Received-Bytes: 1445 Xref: csiph.com comp.compilers:686 AFAIU, to grab the continuation at specific point in a program I still have to do CPS conversion of the whole program (because CPS is global) I then end up with a lot of uninteresting continuations (like for constants and variables etc.) If I want to get rid of those and leave only one "at that point" continuation (with everything on which it depends upward the call path) I need to perform another transformation. Do you know if approaches exist to do the above in one run?