mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-26 06:14:42 +00:00
tblgen shouldn't include headers from llvm codegen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45429 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a4161ee994
commit
2c36affc82
@ -14,9 +14,9 @@
|
||||
|
||||
#include "InstrInfoEmitter.h"
|
||||
#include "CodeGenTarget.h"
|
||||
#include "llvm/Target/TargetInstrInfo.h"
|
||||
#include "Record.h"
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
using namespace llvm;
|
||||
|
||||
// runEnums - Print out enum values for all of the instructions.
|
||||
@ -37,7 +37,7 @@ void InstrInfoEmitter::runEnums(std::ostream &OS) {
|
||||
}
|
||||
|
||||
if (Namespace.empty()) {
|
||||
cerr << "No instructions defined!\n";
|
||||
std::cerr << "No instructions defined!\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
@ -365,7 +365,7 @@ void InstrInfoEmitter::emitShiftedValue(Record *R, StringInit *Val,
|
||||
return;
|
||||
}
|
||||
|
||||
cerr << "Unhandled initializer: " << *Val << "\n";
|
||||
std::cerr << "Unhandled initializer: " << *Val << "\n";
|
||||
throw "In record '" + R->getName() + "' for TSFlag emission.";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user