mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 11:55:12 +00:00
Make error msg nicer
llvm-svn: 326
This commit is contained in:
parent
a4b4e46e90
commit
b3d06b4ec9
@ -103,8 +103,8 @@ void SymbolTable::insert(Value *N) {
|
||||
|
||||
// TODO: The typeverifier should catch this when its implemented
|
||||
if (lookup(N->getType(), N->getName())) {
|
||||
cerr << "SymbolTable WARNING: Name already in symbol table: '"
|
||||
<< N->getName() << "'\n";
|
||||
cerr << "SymbolTable ERROR: Name already in symbol table: '"
|
||||
<< N->getName() << "' for type '" << N->getType()->getName() << "'\n";
|
||||
abort(); // TODO: REMOVE THIS
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user