[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EdgesOutOf



Navindra Umanee <navindra@cs.mcgill.ca> wrote:
> I will look at this closely and see what needs to be done to fix this.

It seems that long ago I fixed this bug in my own internal/working
copy, but forgot to update trunk (or maybe I didn't think anyone else
was really using whole-shimple). :(

It is very simple, but you will have to patch soot/PackManager.java
and recompile it.  Guillaume, can you make this update to your copy of
Soot and give it a try?  Let me know if you need any assistance.

Cheers,
Navin.

--- PackManager.java    2004-09-21 10:26:44.202962816 -0400
+++ ../work/src/soot/PackManager.java   2004-08-20 20:51:16.000000000 -0400
@@ -289,13 +271,13 @@
     }

     private void runWholeProgramPacks() {
-        getPack("cg").apply();
-
         if (Options.v().whole_shimple()) {
             ShimpleTransformer.v().transform();
+            getPack("cg").apply();
             getPack("wstp").apply();
             getPack("wsop").apply();
         } else {
+            getPack("cg").apply();
             getPack("wjtp").apply();
             getPack("wjop").apply();
             getPack("wjap").apply();