Simplify this, matching changes in the tblgen emitter
authorChris Lattner <sabre@nondot.org>
Sun, 23 Oct 2005 22:34:25 +0000 (22:34 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 23 Oct 2005 22:34:25 +0000 (22:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23909 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCSubtarget.cpp

index 5393b1d6393afb3e60e3f0a970ebd1af4d1145c5..fca1f36ae7fbdba2fbbdd088d785a4439d2e3b4c 100644 (file)
@@ -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>