aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/JIT/JIT.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-12-08 08:06:28 +0000
committerChris Lattner <sabre@nondot.org>2003-12-08 08:06:28 +0000
commitc19aadee66b744311afe6e420847e80822a765f2 (patch)
treeb0fd47bec6852cdad398c66c4f1104fc9f2812f9 /lib/ExecutionEngine/JIT/JIT.cpp
parent0c82ee71dc9f99d20e51ae0012973619bcb80194 (diff)
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT/JIT.cpp')
-rw-r--r--lib/ExecutionEngine/JIT/JIT.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/ExecutionEngine/JIT/JIT.cpp b/lib/ExecutionEngine/JIT/JIT.cpp
index 61d9629d93..c5a70eade5 100644
--- a/lib/ExecutionEngine/JIT/JIT.cpp
+++ b/lib/ExecutionEngine/JIT/JIT.cpp
@@ -1,4 +1,4 @@
-//===-- JIT.cpp - LLVM Just in Time Compiler ------------------------------===//
+//===-- JIT.cpp - LLVM Just-In-Time Compiler ------------------------------===//
//
// The LLVM Compiler Infrastructure
//
@@ -19,13 +19,12 @@
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetMachineImpls.h"
#include "Support/CommandLine.h"
+using namespace llvm;
#if !defined(ENABLE_X86_JIT) && !defined(ENABLE_SPARC_JIT)
#define NO_JITS_ENABLED
#endif
-namespace llvm {
-
namespace {
enum ArchName { x86, Sparc };
@@ -120,5 +119,3 @@ GenericValue VM::run(Function *F, const std::vector<GenericValue> &ArgValues)
rv.IntVal = ExitCode;
return rv;
}
-
-} // End llvm namespace