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:
57c0788
)
Remove a bogus cast.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 26 May 2006 08:00:14 +0000
(08:00 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 26 May 2006 08:00:14 +0000
(08:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28492
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 03af3689ef0ca65d837451f797d28ab7d1acdc5b..8003afa0ba5ae238f9ca557cb267ff71b72228ed 100644
(file)
--- a/
lib/CodeGen/MachineInstr.cpp
+++ b/
lib/CodeGen/MachineInstr.cpp
@@
-122,7
+122,7
@@
static void print(const MachineOperand &MO, std::ostream &OS,
OutputReg(OS, MO.getReg(), MRI);
break;
case MachineOperand::MO_Immediate:
- OS <<
(long)
MO.getImmedValue();
+ OS << MO.getImmedValue();
break;
case MachineOperand::MO_MachineBasicBlock:
OS << "mbb<"