blob: bbae7bdbaf2c387949ad4e59a5649e37e4e5c664 [file] [log] [blame]
// Copyright (c) 2019, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.ir.analysis.value;
public class UnknownValue extends AbstractValue {
private static final UnknownValue INSTANCE = new UnknownValue();
private UnknownValue() {}
public static UnknownValue getInstance() {
return INSTANCE;
}
@Override
public boolean isUnknown() {
return true;
}
@Override
public boolean equals(Object o) {
return this == o;
}
@Override
public int hashCode() {
return System.identityHashCode(this);
}
}