diff options
| author | Yong He <yonghe@outlook.com> | 2022-11-29 14:16:05 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-29 14:16:05 -0800 |
| commit | af7f40063dfed1c651d33b93956c7623a7d2c050 (patch) | |
| tree | fd2225cffda6a9a887051bd00c5ccaba9ec6b5ea /source/slang/slang-ast-type.cpp | |
| parent | d85c7b809d02e6dc0844aab07e66a6bac2462017 (diff) | |
Complete removal of DifferentialBottom type. (#2537)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-ast-type.cpp')
| -rw-r--r-- | source/slang/slang-ast-type.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/source/slang/slang-ast-type.cpp b/source/slang/slang-ast-type.cpp index 3fcc762ec..3801b99b0 100644 --- a/source/slang/slang-ast-type.cpp +++ b/source/slang/slang-ast-type.cpp @@ -169,27 +169,6 @@ Val* BottomType::_substituteImplOverride( HashCode BottomType::_getHashCodeOverride() { return HashCode(size_t(this)); } -// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DifferentialBottomType !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -void DifferentialBottomType::_toTextOverride(StringBuilder& out) { out << toSlice("diff_bottom"); } - -bool DifferentialBottomType::_equalsImplOverride(Type* type) -{ - if (auto bottomType = as<DifferentialBottomType>(type)) - return true; - return false; -} - -Type* DifferentialBottomType::_createCanonicalTypeOverride() { return this; } - -Val* DifferentialBottomType::_substituteImplOverride( - ASTBuilder* /* astBuilder */, SubstitutionSet /*subst*/, int* /*ioDiff*/) -{ - return this; -} - -HashCode DifferentialBottomType::_getHashCodeOverride() { return HashCode(size_t(this)); } - // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DeclRefType !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! void DeclRefType::_toTextOverride(StringBuilder& out) |
