This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: kawa hanging while running input-parse.scm
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org
- Date: Fri, 05 Dec 2014 15:19:04 -0800
- Subject: Re: kawa hanging while running input-parse.scm
- Authentication-results: sourceware.org; auth=none
- References: <5481BB29 dot 8070601 at hungry dot com> <54820E5D dot 905 at bothner dot com> <54821A52 dot 6000801 at hungry dot com> <5482369B dot 9010407 at bothner dot com> <54823904 dot 1030902 at hungry dot com>
On 12/05/2014 03:00 PM, Seth Alves wrote:
With the code like this:
public void loadHeapFrame (Compilation comp) {
LambdaExp curLambda = comp.curLambda;
while (curLambda != this && curLambda.getInlineOnly()) {
if (curLambda == curLambda.getCaller())
throw new Error("CYCLE for "+curLambda);
curLambda = curLambda.getCaller();
}
The error does get thrown -- I've attached the output.
I'm not interested in that output. I'm interested in *why*
curLambda == curLambda.getCaller().
Which means the next step is put a similar test in all places
where inlineHome is set.
--
--Per Bothner
per@bothner.com http://per.bothner.com/