Commit Graph

871 Commits

Author SHA1 Message Date
rmfuhrer a915003bba Added new symbol class InternalCAstSymbol to make intent more
clear than using CAstSymbolImpl with extra boolean arg.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1472 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 22:46:19 +00:00
rmfuhrer 84c69b3e57 Added new symbol class InternalCAstSymbol to make intent more
clear than using CAstSymbolImpl with extra boolean arg.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1471 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 22:46:15 +00:00
rmfuhrer 5b0969d6b6 Added new symbol class InternalCAstSymbol to make intent more
clear than using CAstSymbolImpl with extra boolean arg.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1470 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 22:46:10 +00:00
sjfink 5c89985acf add some comments
tweak SSASwitchInstruction.toString()

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1469 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 21:34:04 +00:00
loginov cb4012d939 Added code to methods missing implementations.
Added a make method for a partial graph with a
given set of roots and a given set of nodes.
Added checks for containment of pred/succ
nodes to get[Pred/Succ]NodeNumbers, which
were missing the checks.  Made getNode/getNumber
methods return null/-1 for nodes not in partial
graph (instead of throwing an exception).  May
reconsider this later.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1467 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 20:02:00 +00:00
sjfink d602c65f6b initial revision
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1466 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 19:04:55 +00:00
sjfink 2cc59a6805 add comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1465 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 19:04:38 +00:00
sjfink 0d96ce5155 bug fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1464 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 18:21:50 +00:00
rmfuhrer 897717acd2 Exposed referenceFor*() methods so that clients can translate
Polyglot type-related objects to their WALA counterparts w/o
attempting to canonicalize them. See the JavaDoc for more info
on why this is necessary.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1463 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 15:48:22 +00:00
rmfuhrer e28bbb74c1 Added some JavaDoc to IdentityMapper interface.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1462 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 15:46:55 +00:00
sjfink f88a68b4ba lots of formula cleanup
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1461 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 15:23:58 +00:00
sjfink f44a8a8a8b lots of formula cleanup
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1460 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 15:23:38 +00:00
rmfuhrer 7ed7c4d986 Added comment suggesting to make getPointerAnalysis() public.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1459 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 14:49:07 +00:00
sjfink 7de9694e84 small bug fixes and cleanups
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1458 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 14:01:41 +00:00
sjfink 47defd33aa bug fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1457 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 12:52:14 +00:00
sjfink 9be999a666 add a comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1456 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-13 12:51:54 +00:00
rmfuhrer 6602980f64 Made doArrayRead() and doArrayWrite() public, per API change.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1455 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-12 22:50:46 +00:00
rmfuhrer 406d5297c1 Made doArrayRead() and doArrayWrite() public, per API change.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1454 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-12 22:50:28 +00:00
rmfuhrer bb1ce4fa36 Now delegates to an ArrayOpHandler (this, by default) to handle
IR generation for array reads and writes.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1453 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-12 22:49:55 +00:00
rmfuhrer e523cd7800 New class to encapsulate translator's handling of various
array operations (reads, writes).

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1452 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-12 22:48:40 +00:00
sjfink 01f7c2ea9e more simplification logic
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1451 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-12 19:08:11 +00:00
dolby-oss d7dc11aa87 generalize hackish notion of 'internal' names
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1450 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-12 18:15:56 +00:00
dolby-oss d9dad9f495 generalize hackish notion of 'internal' names
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1449 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-12 18:15:27 +00:00
dolby-oss ce4cdd7f88 generalize hackish notion of 'internal' names
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1448 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-12 18:14:26 +00:00
sjfink d80deb4bf0 substitutions based on pattern matching
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1447 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-12 13:57:51 +00:00
sjfink a4f28d1212 more simplifying
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1446 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-12 00:09:15 +00:00
sjfink 12d8bed2b6 add debugging message
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1445 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 22:34:08 +00:00
sjfink 3314f2fcfb some refactoring and cleanup
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1444 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 22:12:49 +00:00
sjfink 2014b00b11 small comment cleanup
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1443 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:47:39 +00:00
sjfink a6e4894120 use Hash factories everywhere
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1442 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:08:35 +00:00
sjfink ca4ca4ddca use Hash factories everywhere
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1441 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:08:30 +00:00
sjfink d6f9af13f3 use Hash factories everywhere
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1440 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:08:26 +00:00
sjfink 433b943759 use Hash factories everywhere
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1439 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:08:21 +00:00
sjfink 059761fb70 use Hash factories everywhere
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1438 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:08:12 +00:00
sjfink a83b93fd0f use Hash factories everywhere
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1437 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:07:42 +00:00
sjfink c91caedab6 use Hash factories everywhere
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1435 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:07:32 +00:00
sjfink 797f7d445f use Hash factories everywhere
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1434 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:07:19 +00:00
sjfink dcb4b60dee use Hash factories everywhere
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1433 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 21:07:13 +00:00
sjfink 31af915002 fix hashCode/equals
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1432 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 20:04:41 +00:00
sjfink 6a04d78285 remove silly comment
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1431 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 20:04:24 +00:00
sjfink 1e1e574287 misc bug fixes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1430 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 19:47:31 +00:00
egeay 5b8952c3e4 Updated plugin dependencies for Eclipse 3.3 release.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1429 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 19:03:45 +00:00
egeay 3a6fcf5679 Updated plugin dependencies for Eclipse 3.3 release.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1428 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 19:03:41 +00:00
egeay 155a0f313d Updated plugin dependencies for Eclipse 3.3 release.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1427 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 19:03:38 +00:00
egeay 58eb188aee Updated plugin dependencies for Eclipse 3.3 release.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1426 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 19:03:31 +00:00
sjfink 561ccc13e3 more simplification
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1425 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 18:45:43 +00:00
sjfink 1f94c82716 suppress a compiler warning
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1424 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 18:43:55 +00:00
sjfink 42cb878f27 restructure to allow CGNodes to dwell in more than one CallGraph. lift some functions up from CGNode to CallGraph
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1423 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 16:25:06 +00:00
sjfink fd1a1d4cae restructure to allow CGNodes to dwell in more than one CallGraph. lift some functions up from CGNode to CallGraph
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1422 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 16:24:58 +00:00
sjfink d72e0a1752 restructure to allow CGNodes to dwell in more than one CallGraph. lift some functions up from CGNode to CallGraph
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1420 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-11 16:24:45 +00:00