From: jjenista Date: Wed, 11 May 2011 17:59:18 +0000 (+0000) Subject: only do this if we are using oooj-style tasks after this analysis otherwise it crashes X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a85168ca24fb61e2e10e706edf5ebbf2a7ee01f9;p=IRC.git only do this if we are using oooj-style tasks after this analysis otherwise it crashes --- diff --git a/Robust/src/Analysis/Disjoint/DisjointAnalysis.java b/Robust/src/Analysis/Disjoint/DisjointAnalysis.java index fae647f9..6f706d11 100644 --- a/Robust/src/Analysis/Disjoint/DisjointAnalysis.java +++ b/Robust/src/Analysis/Disjoint/DisjointAnalysis.java @@ -1723,11 +1723,13 @@ public class DisjointAnalysis implements HeapAnalysis { // of programs with no tasks/SESEs/rblocks... //XXXXXXXXXXXXXXXXXXXXXXXXX //need to consider more - FlatNode nextFN=fmCallee.getNext(0); - if( nextFN instanceof FlatSESEEnterNode ) { - FlatSESEEnterNode calleeSESE=(FlatSESEEnterNode)nextFN; - if(!calleeSESE.getIsLeafSESE()) { - rg.makeInaccessible(liveness.getLiveInTemps(fmContaining, fn) ); + if( state.OOOJAVA ) { + FlatNode nextFN=fmCallee.getNext(0); + if( nextFN instanceof FlatSESEEnterNode ) { + FlatSESEEnterNode calleeSESE=(FlatSESEEnterNode)nextFN; + if(!calleeSESE.getIsLeafSESE()) { + rg.makeInaccessible(liveness.getLiveInTemps(fmContaining, fn) ); + } } }