[abc-users] return stmt

From: Amjad Nusayr <anusayr_at_cs.nmsu.edu>
Date: Sun, 03 Aug 2008 00:08:44 -0600

Hi
I was missing around with AOP using plain abc; without any extensions
and I got an exception with I tried to compile my files, I used "abc
-debug doValidate -argfile files.lst" and got this...

Exception in thread "main" polyglot.util.InternalCompilerError:
unhandled except
ving/optimisation
        at abc.main.CompileSequence.runSequence(CompileSequence.java:142)
        at abc.main.Main.run(Main.java:406)
        at abc.main.Main.main(Main.java:144)
Caused by: polyglot.util.InternalCompilerError: Last stmt should be
ReturnStmt o
mt
        at abc.soot.util.Restructure.restructureReturn(Restructure.java:268)
        at
abc.weaving.weaver.ShadowPointsSetter.restructureBody(ShadowPointsSet
        at
abc.weaving.weaver.ShadowPointsSetter.insertExecutionSP(ShadowPointsS
)
        at
abc.weaving.weaver.ShadowPointsSetter.setShadowPointsPass1(ShadowPoin
105)
        at
abc.bbs.weaving.weaver.ShadowPointsSetter.setShadowPointsPass1(Shadow
ava:61)
        at abc.bbs.weaving.weaver.Weaver.inlineConstructors(Weaver.java:43)
        at abc.weaving.weaver.Weaver.weave(Weaver.java:185)
        at abc.main.CompileSequence.weave(CompileSequence.java:496)
        at abc.main.CompileSequence.runSequence(CompileSequence.java:115)
        ... 2 more

Any clues??

Amjad
Received on Sun Aug 03 2008 - 07:08:53 BST

This archive was generated by hypermail 2.2.0 : Mon Aug 04 2008 - 18:20:11 BST