[llvm-commits] [llvm] r45429 - /llvm/trunk/utils/TableGen/InstrInfoEmitter.cpp
Chris Lattner
sabre at nondot.org
Sat Dec 29 16:25:23 PST 2007
Author: lattner
Date: Sat Dec 29 18:25:23 2007
New Revision: 45429
URL: http://llvm.org/viewvc/llvm-project?rev=45429&view=rev
Log:
tblgen shouldn't include headers from llvm codegen.
Modified:
llvm/trunk/utils/TableGen/InstrInfoEmitter.cpp
Modified: llvm/trunk/utils/TableGen/InstrInfoEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/InstrInfoEmitter.cpp?rev=45429&r1=45428&r2=45429&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/InstrInfoEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/InstrInfoEmitter.cpp Sat Dec 29 18:25:23 2007
@@ -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 @@
}
if (Namespace.empty()) {
- cerr << "No instructions defined!\n";
+ std::cerr << "No instructions defined!\n";
exit(1);
}
@@ -365,7 +365,7 @@
return;
}
- cerr << "Unhandled initializer: " << *Val << "\n";
+ std::cerr << "Unhandled initializer: " << *Val << "\n";
throw "In record '" + R->getName() + "' for TSFlag emission.";
}
More information about the llvm-commits
mailing list