summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/iOperators.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-20 17:45:12 +0000
committerChris Lattner <sabre@nondot.org>2003-11-20 17:45:12 +0000
commit0e03ab67c3911b85847736b48f9fee2adae7058a (patch)
tree40a097fbaeb94436688a8f71e9d0682dc89c8263 /llvm/lib/VMCore/iOperators.cpp
parent1183b6f5b0b250d3798df777f66bedc66b7d107c (diff)
downloadbcm5719-llvm-0e03ab67c3911b85847736b48f9fee2adae7058a.tar.gz
bcm5719-llvm-0e03ab67c3911b85847736b48f9fee2adae7058a.zip
* Finegrainify namespacification
* Add new constructors to allow insertion of terminator instructions at the end of basic blocks. * Move a ReturnInst method out-of-line, so that the vtable and type info don't need to be emitted to every translation unit that uses the class. llvm-svn: 10107
Diffstat (limited to 'llvm/lib/VMCore/iOperators.cpp')
-rw-r--r--llvm/lib/VMCore/iOperators.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/iOperators.cpp b/llvm/lib/VMCore/iOperators.cpp
index 79fac335fe5..9cd7612fcb2 100644
--- a/llvm/lib/VMCore/iOperators.cpp
+++ b/llvm/lib/VMCore/iOperators.cpp
@@ -15,8 +15,7 @@
#include "llvm/Type.h"
#include "llvm/Constants.h"
#include "llvm/BasicBlock.h"
-
-namespace llvm {
+using namespace llvm;
//===----------------------------------------------------------------------===//
// BinaryOperator Class
@@ -196,5 +195,3 @@ Instruction::BinaryOps SetCondInst::getSwappedCondition(BinaryOps Opcode) {
case SetLE: return SetGE;
}
}
-
-} // End llvm namespace
OpenPOWER on IntegriCloud