This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: kawa hanging while running input-parse.scm




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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]