From: Chris Lattner Date: Sun, 23 Oct 2005 22:34:25 +0000 (+0000) Subject: Simplify this, matching changes in the tblgen emitter X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2224dcc88c3f01c707cc7dfdb085975340bc0127;p=oota-llvm.git 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 --- diff --git a/lib/Target/PowerPC/PPCSubtarget.cpp b/lib/Target/PowerPC/PPCSubtarget.cpp index 5393b1d6393..fca1f36ae7f 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 #include