diff options
Diffstat (limited to 'source/slang/syntax.cpp')
| -rw-r--r-- | source/slang/syntax.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/syntax.cpp b/source/slang/syntax.cpp index 070362ddf..9ca2dc827 100644 --- a/source/slang/syntax.cpp +++ b/source/slang/syntax.cpp @@ -1827,7 +1827,7 @@ void Type::accept(IValVisitor* visitor, void* extra) if(!otherProxy) return false; - return this->inst == otherProxy->inst; + return this->inst.usedValue == otherProxy->inst.usedValue; } String IRProxyVal::ToString() @@ -1837,7 +1837,7 @@ void Type::accept(IValVisitor* visitor, void* extra) int IRProxyVal::GetHashCode() { - auto hash = Slang::GetHashCode(inst); + auto hash = Slang::GetHashCode(inst.usedValue); return hash; } |
