aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-23 22:34:25 +0000
committerChris Lattner <sabre@nondot.org>2005-10-23 22:34:25 +0000
commit2224dcc88c3f01c707cc7dfdb085975340bc0127 (patch)
treecb03289da917bb2bc16ba871f320fa3744628b32
parent8ec9f331d25254ec9d3f9205c60d1d444db45185 (diff)
downloadexternal_llvm-2224dcc88c3f01c707cc7dfdb085975340bc0127.zip
external_llvm-2224dcc88c3f01c707cc7dfdb085975340bc0127.tar.gz
external_llvm-2224dcc88c3f01c707cc7dfdb085975340bc0127.tar.bz2
Simplify this, matching changes in the tblgen emitter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23909 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.cpp b/lib/Target/PowerPC/PPCSubtarget.cpp
index 5393b1d..fca1f36 100644
--- a/lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/lib/Target/PowerPC/PPCSubtarget.cpp
@@ -15,7 +15,6 @@
#include "PPC.h"
#include "llvm/Module.h"
#include "llvm/Support/CommandLine.h"
-#include "llvm/Target/SubtargetFeature.h"
#include "PPCGenSubtarget.inc"
using namespace llvm;
@@ -32,14 +31,6 @@ namespace llvm {
cl::location(PPCTarget), cl::init(TargetDefault));
}
-/// Length of FeatureKV.
-static const unsigned FeatureKVSize = sizeof(FeatureKV)
- / sizeof(SubtargetFeatureKV);
-/// Length of SubTypeKV.
-static const unsigned SubTypeKVSize = sizeof(SubTypeKV)
- / sizeof(SubtargetFeatureKV);
-
-
#if defined(__APPLE__)
#include <mach/mach.h>
#include <mach/mach_host.h>