[Soot-list] Jimple Help

Eric Bodden eric.bodden at mail.mcgill.ca
Mon Mar 5 10:21:45 EST 2007


I think this is caused by the Dead Assignment Eliminator (jb.dae).

Try the commandline option "-p jb.dae enabled:false".

Eric

On 3/5/07, John Chaitanya Kati <johnkati at cse.iitb.ac.in> wrote:
> Hi everyone,
>            I need a help regarding jimple intermediate format.
> in my program if there is a call i = add(5,6); and if i is not used after
> that, then the corresponding jimple statement is "staticinvoke
> <Test: int add(int,int)>(5, 6);"
> but if i is used later like i = add(5,6); k=i; then the corresponding
> jimple statement is i0 = staticinvoke <Test: int add(int,int)>(5, 6);
>
> I dont want this optimization to happen. I mean when i call i = add(5,6) i
> want the statement to be i0 = staticinvoke <Test: int add(int,int)>(5, 6);
> irespective of whether i is used further or not. Can anybody help me in
> this?
>
>
>
>
>
>
>
>
> --
> Thanks in advance
> John Chaitanya
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>


-- 
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada


More information about the Soot-list mailing list