File openjdk-6-src-b20-defined-but-not-used.patch of Package java-1_6_0-openjdk.import5329

Index: icedtea6-1.9.1/openjdk/hotspot/src/share/vm/adlc/archDesc.cpp
===================================================================
--- icedtea6-1.9.1.orig/openjdk/hotspot/src/share/vm/adlc/archDesc.cpp
+++ icedtea6-1.9.1/openjdk/hotspot/src/share/vm/adlc/archDesc.cpp
@@ -42,32 +42,6 @@ char *toUpper(const char *str) {
   return result;
 }
 
-// Utilities to characterize effect statements
-static bool is_def(int usedef) {
-  switch(usedef) {
-  case Component::DEF:
-  case Component::USE_DEF: return true; break;
-  }
-  return false;
-}
-
-static bool is_use(int usedef) {
-  switch(usedef) {
-  case Component::USE:
-  case Component::USE_DEF:
-  case Component::USE_KILL: return true; break;
-  }
-  return false;
-}
-
-static bool is_kill(int usedef) {
-  switch(usedef) {
-  case Component::KILL:
-  case Component::USE_KILL: return true; break;
-  }
-  return false;
-}
-
 //---------------------------ChainList Methods-------------------------------
 ChainList::ChainList() {
 }
Index: icedtea6-1.9.1/openjdk/hotspot/src/share/vm/adlc/dfa.cpp
===================================================================
--- icedtea6-1.9.1.orig/openjdk/hotspot/src/share/vm/adlc/dfa.cpp
+++ icedtea6-1.9.1/openjdk/hotspot/src/share/vm/adlc/dfa.cpp
@@ -29,10 +29,6 @@
 static bool debug_output   = false;
 static bool debug_output1  = false;    // top level chain rules
 
-//---------------------------Access to internals of class State----------------
-static const char *sLeft   = "_kids[0]";
-static const char *sRight  = "_kids[1]";
-
 //---------------------------DFA productions-----------------------------------
 static const char *dfa_production           = "DFA_PRODUCTION";
 static const char *dfa_production_set_valid = "DFA_PRODUCTION__SET_VALID";