summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-11 15:35:57 +0000
committerDan Gohman <gohman@apple.com>2009-08-11 15:35:57 +0000
commitc7c2bc9663c9e70b9e0231fee973352923ab9182 (patch)
treee35bab15a314abc922cefe0f2ebf85606a992e39 /llvm/lib/CodeGen
parentf24f9d9cb6f5f3c70d6b26104b14e29c7dbd0720 (diff)
downloadbcm5719-llvm-c7c2bc9663c9e70b9e0231fee973352923ab9182.tar.gz
bcm5719-llvm-c7c2bc9663c9e70b9e0231fee973352923ab9182.zip
Remove unnecessary throw() specifications; LLVM doesn't use exceptions.
llvm-svn: 78667
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/PBQP/PBQPMath.h6
-rw-r--r--llvm/lib/CodeGen/RegAllocPBQP.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/PBQP/PBQPMath.h b/llvm/lib/CodeGen/PBQP/PBQPMath.h
index 9bcaf4d545a..11f4b4b4e34 100644
--- a/llvm/lib/CodeGen/PBQP/PBQPMath.h
+++ b/llvm/lib/CodeGen/PBQP/PBQPMath.h
@@ -52,7 +52,7 @@ class Vector {
}
/// \brief Return the length of the vector
- unsigned getLength() const throw () {
+ unsigned getLength() const {
return length;
}
@@ -143,10 +143,10 @@ class Matrix {
}
/// \brief Return the number of rows in this matrix.
- unsigned getRows() const throw () { return rows; }
+ unsigned getRows() const { return rows; }
/// \brief Return the number of cols in this matrix.
- unsigned getCols() const throw () { return cols; }
+ unsigned getCols() const { return cols; }
/// \brief Matrix element access.
PBQPNum* operator[](unsigned r) {
diff --git a/llvm/lib/CodeGen/RegAllocPBQP.cpp b/llvm/lib/CodeGen/RegAllocPBQP.cpp
index 9e77abc59e7..c0a7cac5ebf 100644
--- a/llvm/lib/CodeGen/RegAllocPBQP.cpp
+++ b/llvm/lib/CodeGen/RegAllocPBQP.cpp
@@ -74,7 +74,7 @@ namespace {
PBQPRegAlloc() : MachineFunctionPass(&ID) {}
/// Return the pass name.
- virtual const char* getPassName() const throw() {
+ virtual const char* getPassName() const {
return "PBQP Register Allocator";
}
OpenPOWER on IntegriCloud