[llvm-commits] CVS: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp ARMRegisterInfo.cpp
Evan Cheng
evan.cheng at apple.com
Wed Feb 7 13:18:48 PST 2007
Changes in directory llvm/lib/Target/ARM:
ARMISelDAGToDAG.cpp updated: 1.106 -> 1.107
ARMRegisterInfo.cpp updated: 1.62 -> 1.63
---
Log message:
Get rid of references to iostream.
---
Diffs of the changes: (+2 -4)
ARMISelDAGToDAG.cpp | 1 -
ARMRegisterInfo.cpp | 5 ++---
2 files changed, 2 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
diff -u llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.106 llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.107
--- llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.106 Tue Feb 6 03:11:20 2007
+++ llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp Wed Feb 7 15:18:32 2007
@@ -28,7 +28,6 @@
#include "llvm/CodeGen/SSARegMap.h"
#include "llvm/Target/TargetLowering.h"
#include "llvm/Support/Debug.h"
-#include <iostream>
using namespace llvm;
//===--------------------------------------------------------------------===//
Index: llvm/lib/Target/ARM/ARMRegisterInfo.cpp
diff -u llvm/lib/Target/ARM/ARMRegisterInfo.cpp:1.62 llvm/lib/Target/ARM/ARMRegisterInfo.cpp:1.63
--- llvm/lib/Target/ARM/ARMRegisterInfo.cpp:1.62 Wed Feb 7 03:17:36 2007
+++ llvm/lib/Target/ARM/ARMRegisterInfo.cpp Wed Feb 7 15:18:32 2007
@@ -31,7 +31,6 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/STLExtras.h"
#include <algorithm>
-#include <iostream>
using namespace llvm;
unsigned ARMRegisterInfo::getRegisterNumbering(unsigned RegEnum) {
@@ -70,7 +69,7 @@
case S30: return 30;
case S31: return 31;
default:
- std::cerr << "Unknown ARM register!\n";
+ assert(0 && "Unknown ARM register!");
abort();
}
}
@@ -738,7 +737,7 @@
break;
}
default:
- std::cerr << "Unsupported addressing mode!\n";
+ assert(0 && "Unsupported addressing mode!");
abort();
break;
}
More information about the llvm-commits
mailing list