mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
fix typo 'varaible' in assert
llvm-svn: 279636
This commit is contained in:
parent
83b26ce95f
commit
3170ff6896
@ -1119,7 +1119,7 @@ void Verifier::visitDIGlobalVariable(const DIGlobalVariable &N) {
|
||||
if (auto *V = N.getRawVariable()) {
|
||||
AssertDI(isa<ConstantAsMetadata>(V) &&
|
||||
!isa<Function>(cast<ConstantAsMetadata>(V)->getValue()),
|
||||
"invalid global varaible ref", &N, V);
|
||||
"invalid global variable ref", &N, V);
|
||||
visitConstantExprsRecursively(cast<ConstantAsMetadata>(V)->getValue());
|
||||
}
|
||||
if (auto *Member = N.getRawStaticDataMemberDeclaration()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user