diff options
author | Dan Gohman <sunfish@mozilla.com> | 2014-03-05 15:29:24 -0800 |
---|---|---|
committer | Dan Gohman <sunfish@mozilla.com> | 2014-03-05 15:31:31 -0800 |
commit | bf36bf54a271a58f788a9b5baf35b9d912cf8f8d (patch) | |
tree | 6d4f2ef0b3090af80b346c9a2fb5529a3072c983 /lib/Target | |
parent | e55f11a6797e5f913745c6b9e6cde0ff3f60201e (diff) |
Trim unneeded #includes.
This also helps clarify that we're not using the MC framework.
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/JSBackend/JSBackend.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Target/JSBackend/JSBackend.cpp b/lib/Target/JSBackend/JSBackend.cpp index 112078d07e..a08e61fbff 100644 --- a/lib/Target/JSBackend/JSBackend.cpp +++ b/lib/Target/JSBackend/JSBackend.cpp @@ -23,7 +23,6 @@ #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/STLExtras.h" #include "llvm/Config/config.h" -#include "llvm/IR/CallingConv.h" #include "llvm/IR/Constants.h" #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/InlineAsm.h" @@ -32,9 +31,6 @@ #include "llvm/IR/Intrinsics.h" #include "llvm/IR/Module.h" #include "llvm/IR/Operator.h" -#include "llvm/MC/MCAsmInfo.h" -#include "llvm/MC/MCInstrInfo.h" -#include "llvm/MC/MCSubtargetInfo.h" #include "llvm/Pass.h" #include "llvm/PassManager.h" #include "llvm/Support/CallSite.h" @@ -54,10 +50,6 @@ using namespace llvm; #include <OptPasses.h> #include <Relooper.h> -#ifdef _MSC_VER -#define snprintf _snprintf -#endif - #ifdef NDEBUG #undef assert #define assert(x) { if (!(x)) report_fatal_error(#x); } |