projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9b770c
)
bug fix in identifying leaf tasks
author
jjenista
<jjenista>
Mon, 25 Oct 2010 18:58:03 +0000
(18:58 +0000)
committer
jjenista
<jjenista>
Mon, 25 Oct 2010 18:58:03 +0000
(18:58 +0000)
Robust/src/Analysis/OoOJava/RBlockRelationAnalysis.java
patch
|
blob
|
history
diff --git
a/Robust/src/Analysis/OoOJava/RBlockRelationAnalysis.java
b/Robust/src/Analysis/OoOJava/RBlockRelationAnalysis.java
index 416e1e9af6039d9712ddf0e3ce18d90d52820c60..834fcee55cc0e0ef585e0adacda970da1f001adc 100644
(file)
--- a/
Robust/src/Analysis/OoOJava/RBlockRelationAnalysis.java
+++ b/
Robust/src/Analysis/OoOJava/RBlockRelationAnalysis.java
@@
-213,7
+213,7
@@
public class RBlockRelationAnalysis {
itr.hasNext();
) {
FlatSESEEnterNode fsen = itr.next();
-
+
boolean hasNoNestedChildren = fsen.getChildren().isEmpty();
boolean hasNoChildrenByCall = !hasChildrenByCall( fsen );
@@
-244,7
+244,9
@@
public class RBlockRelationAnalysis {
MethodDescriptor mdCallee = fc.getMethod();
Set reachable = new HashSet();
+ reachable.add( mdCallee );
reachable.addAll( callGraph.getAllMethods( mdCallee ) );
+
reachable.retainAll( methodsContainingSESEs );
if( !reachable.isEmpty() ) {