mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
[rollback] NotNullValues mustn't end up in equivalence classes table. (Check SliceTreeTest next time)
This commit is contained in:
@@ -568,6 +568,7 @@ public class DfaMemoryStateImpl implements DfaMemoryState {
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
if (dfaRight instanceof DfaNotNullValue) {
|
||||
if (dfaLeft instanceof DfaVariableValue) {
|
||||
DfaVariableState varState = getVariableState((DfaVariableValue)dfaLeft);
|
||||
@@ -576,11 +577,12 @@ public class DfaMemoryStateImpl implements DfaMemoryState {
|
||||
if (isNegated) {
|
||||
return varState.addNotInstanceofValue(type) || applyCondition(compareToNull(dfaVar, false));
|
||||
}
|
||||
return applyCondition(compareToNull(dfaVar, false)) && varState.setInstanceofValue(type);
|
||||
return applyCondition(compareToNull(dfaVar, true)) && varState.setInstanceofValue(type);
|
||||
|
||||
}
|
||||
return true;
|
||||
}
|
||||
*/
|
||||
|
||||
if (dfaRight == myFactory.getConstFactory().getNull() && dfaLeft instanceof DfaVariableValue) {
|
||||
final DfaVariableState varState = getVariableState((DfaVariableValue)dfaLeft);
|
||||
|
||||
Reference in New Issue
Block a user