[prev in list] [next in list] [prev in thread] [next in thread] 

List:       soot-list
Subject:    [Soot-list] Help with method inlining
From:       xfernando () gmail ! com (Fernando Calheiros)
Date:       2007-10-09 12:48:21
Message-ID: f759efdc0710090948g14d72da8t2b54315eda35611a () mail ! gmail ! com
[Download RAW message or body]

Hi there, I'm developing a few soot transformations that require
method inlining, so I'm using extending the class BodyTransformer to
perform the transformation, InlineSafetyManager.ensureInlinability()
to check if it's safe to inline a method at its invocation site, and
SiteInliner.inlineSite() to perform the actual inlining.

I'm having some problems because some methods active bodies are being
BafBody and not JimpleBody (SiteInliner only works with JimpleBody).
I'm adding my transformations to the jtp pack, so I assumed that
everything would be represented as Jimple, but some methods are being
represented as Baf, is there any explanation for this behavior?

Thanks in advance,
Fernando Calheiros

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic