RFR (XS) 8252290: C2: Remove unused enum in CallGenerator

Aleksey Shipilev shade at redhat.com
Tue Aug 25 07:29:16 UTC 2020


Small cleanup:
   https://bugs.openjdk.java.net/browse/JDK-8252290

Static code inspection complains the enum below is unused.

diff -r 13fdf97f0a8f src/hotspot/share/opto/callGenerator.hpp
--- a/src/hotspot/share/opto/callGenerator.hpp  Mon Aug 24 09:35:23 2020 +0200
+++ b/src/hotspot/share/opto/callGenerator.hpp  Tue Aug 25 09:27:45 2020 +0200
@@ -37,9 +37,4 @@

  class CallGenerator : public ResourceObj {
- public:
-  enum {
-    xxxunusedxxx
-  };
-
   private:
    ciMethod*             _method;                // The method being called.

Testing: grepping for "xxxunusedxxx", local builds

-- 
Thanks,
-Aleksey



More information about the hotspot-compiler-dev mailing list