} else if (value instanceof InstanceOfExpr) {
// If the operand of the expression is
// declared to be of a type that implies
// the instanceof is true, then replace
// with true.
InstanceOfExpr expr = (InstanceOfExpr) value;
Type checkType = expr.getCheckType();
Value op = expr.getOp();
Type opType = op.getType();
// Skip locals that are unsafe.
if (unsafeLocalSet.contains(op)) {
continue;