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, 19 Dec 2014 23:39:10 -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> <54823D68 dot 3060005 at bothner dot com> <5482446D dot 8020200 at hungry dot com>
On 12/05/2014 03:49 PM, Seth Alves wrote:
It seems to be happening in FindCapturedVars.java line 274 in
static Expression checkInlineable (LambdaExp current,
java.util.Set<LambdaExp> seen)
{
...
else if (r == null)
{
r = t;
if (current.inlineHome == null)
current.inlineHome = current.nestedIn(p) ? p : p.inlineHome;
}
...
}
I checked in a fix for this. (I hope - I find this kind of code difficult.)
Basically, I don't set inlineHome here, instead deferring doing so to visitLambdaExp.
--
--Per Bothner
per@bothner.com http://per.bothner.com/