summaryrefslogtreecommitdiff
path: root/source/slang/slang-mangle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-mangle.cpp')
-rw-r--r--source/slang/slang-mangle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/slang/slang-mangle.cpp b/source/slang/slang-mangle.cpp
index 19e6ed234..0d12e2f69 100644
--- a/source/slang/slang-mangle.cpp
+++ b/source/slang/slang-mangle.cpp
@@ -139,7 +139,7 @@ namespace Slang
else if (auto arrType = dynamicCast<ArrayExpressionType>(type))
{
emitRaw(context, "a");
- emitSimpleIntVal(context, arrType->ArrayLength);
+ emitSimpleIntVal(context, arrType->arrayLength);
emitType(context, arrType->baseType);
}
else if( auto taggedUnionType = dynamicCast<TaggedUnionType>(type) )
@@ -276,8 +276,8 @@ namespace Slang
// Special case: need a way to tell prefix and postfix unary
// operators apart.
{
- if(declRef.getDecl()->HasModifier<PostfixModifier>()) emitRaw(context, "P");
- if(declRef.getDecl()->HasModifier<PrefixModifier>()) emitRaw(context, "p");
+ if(declRef.getDecl()->hasModifier<PostfixModifier>()) emitRaw(context, "P");
+ if(declRef.getDecl()->hasModifier<PrefixModifier>()) emitRaw(context, "p");
}