mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Fix PR147
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10204 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -553,6 +553,11 @@ static bool setValueName(Value *V, char *NameStr) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Clear the symbol table so it doesn't complain when it
|
||||||
|
// gets destructed
|
||||||
|
CurFun.LocalSymtab.clear();
|
||||||
|
|
||||||
ThrowException("Redefinition of value named '" + Name + "' in the '" +
|
ThrowException("Redefinition of value named '" + Name + "' in the '" +
|
||||||
V->getType()->getDescription() + "' type plane!");
|
V->getType()->getDescription() + "' type plane!");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user