Commit Graph

19 Commits

Author SHA1 Message Date
dolby-oss 4c6d062dbb blunt force trauma to CAst frond end:
1) Structural changes in the AstTranslator to allow retranslation and generation of custom IR.  This is mostly moving state from the translator itself into the context.
2) Some refactoring to share some AST generation code across the Java and JavaScript front ends.
3) Switching to the latest Rhino, release 1.7R3; this is a pervasive change to the JavaScript Rhino translator, since it involves switching to the new AST interface in Rhino.
4) Common code to, as an option, translate Do-style loops by replicating the loop body.  This allows the use of CAstNode.LOOP forms for such loops.
5) Some bug fixes to the mechanisms of the CAstRewriter to handle weird control flow cases.
6) An example of retranslation to specialize JavaScript methods based on how many arguments they receive at call sites.


git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4425 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-01-27 20:15:33 +00:00
dolby-oss 1817ef2278 bug fixes to method wrappers for overriding
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4161 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-28 19:08:59 +00:00
dolby-oss 67d26e74c5 allow IR translator to give warnings and errors via the loader
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4125 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-14 01:16:36 +00:00
msridhar1 1fa8b9b3cd update exported packages, add required execution environment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4124 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-13 16:54:24 +00:00
dolby-oss 9006fce690 some bug fixes to CAst IR generation, especially in handling exceptions
cleanup of how JDT analysis engines work, to make using the JDT front end more modular
bug foxes to JavaScript handling, most notably fixing scoping of functions

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4123 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-13 16:27:15 +00:00
msridhar1 857e456806 organize imports
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4081 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-04-03 04:08:05 +00:00
sjfink 3a49f17ebc update code formatting for Eclipse 3.6
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4048 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-02-03 15:14:47 +00:00
dolby-oss f5065b11e4 beginnings of support for annotations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4020 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-12-14 14:32:22 +00:00
dolby-oss 086c22dc13 provide more options for choosing classfiles vs source files. Thanks to Dan Marino.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3852 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2010-07-19 14:05:19 +00:00
dolby-oss 9a6173a1b8 Ishizaki-san's eclipse 3.5 patch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3734 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-07-17 16:31:31 +00:00
sjfink a0efbee8ff Major refactoring to introduce com.ibm.wala.ide. Many related changes and patches from Marcelo Paternostro.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3693 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-22 15:06:12 +00:00
dolby-oss 2e8da872c0 support for replication-based translation of Do loops in Java, so that the standard LOOP node type can be used.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3596 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-15 16:06:09 +00:00
sjfink 9939142eae switch from Assertions._assert to Java assertions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3555 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-30 13:16:52 +00:00
dolby-oss f6f7b92bfe clean ups, and work on error reporting in the CAst front end
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3461 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-15 12:52:40 +00:00
sjfink f464febc59 suppress warnings from generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3441 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-13 14:02:46 +00:00
sjfink 296a1684a1 switch to WALA code format.
No semantic change.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3440 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-13 13:58:55 +00:00
sjfink ed13ddbb17 bug fix 2666538: make ClassLoaderReference immutable, and related API fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3302 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-13 14:20:35 +00:00
dolby-oss 1cb571d1f0 add some missing exception edges
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3273 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-11 13:30:52 +00:00
dolby-oss 399a50ef37 JDT-based CAst front end from Berkeley
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3158 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-01-09 02:42:00 +00:00