projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0742b59
)
Fix bugs in finegrainification
author
Chris Lattner
<sabre@nondot.org>
Mon, 23 Feb 2004 18:40:08 +0000
(18:40 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 23 Feb 2004 18:40:08 +0000
(18:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11758
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineInstr.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineInstr.cpp
b/lib/CodeGen/MachineInstr.cpp
index 43d0e3c9fa0cecba2b91701a1dea3f01053fa981..030cb7ef0cf162510be7e66f2fb72f84474ce8e6 100644
(file)
--- a/
lib/CodeGen/MachineInstr.cpp
+++ b/
lib/CodeGen/MachineInstr.cpp
@@
-30,7
+30,7
@@
using namespace llvm;
// FIXME: This should be a property of the target so that more than one target
// at a time can be active...
//
-namespace {
+namespace
llvm
{
extern const TargetInstrDescriptor *TargetInstrDescriptors;
}
@@
-329,6
+329,7
@@
void MachineInstr::print(std::ostream &OS, const TargetMachine &TM) const {
OS << "\n";
}
+namespace llvm {
std::ostream &operator<<(std::ostream &os, const MachineInstr &MI) {
// If the instruction is embedded into a basic block, we can find the target
// info for the instruction.
@@
-448,3
+449,4
@@
std::ostream &operator<<(std::ostream &OS, const MachineOperand &MO) {
return OS;
}
+}