changeset 22402:37ec3ff2f8e0

Remove unused interface KindProvider.
author Roland Schatz <roland.schatz@oracle.com>
date Wed, 05 Aug 2015 11:24:09 +0200
parents 31e0737e2fce
children f46872273ecd
files jvmci/jdk.internal.jvmci.meta/src/jdk/internal/jvmci/meta/AbstractValue.java jvmci/jdk.internal.jvmci.meta/src/jdk/internal/jvmci/meta/AllocatableValue.java jvmci/jdk.internal.jvmci.meta/src/jdk/internal/jvmci/meta/KindProvider.java jvmci/jdk.internal.jvmci.meta/src/jdk/internal/jvmci/meta/Value.java
diffstat 4 files changed, 5 insertions(+), 36 deletions(-) [+]
line wrap: on
line diff
--- a/jvmci/jdk.internal.jvmci.meta/src/jdk/internal/jvmci/meta/AbstractValue.java	Wed Aug 05 00:22:17 2015 +0200
+++ b/jvmci/jdk.internal.jvmci.meta/src/jdk/internal/jvmci/meta/AbstractValue.java	Wed Aug 05 11:24:09 2015 +0200
@@ -25,7 +25,7 @@
 /**
  * Abstract base class for values.
  */
-public abstract class AbstractValue implements Value, KindProvider {
+public abstract class AbstractValue implements Value {
 
     public static final AllocatableValue ILLEGAL = Value.ILLEGAL;
 
--- a/jvmci/jdk.internal.jvmci.meta/src/jdk/internal/jvmci/meta/AllocatableValue.java	Wed Aug 05 00:22:17 2015 +0200
+++ b/jvmci/jdk.internal.jvmci.meta/src/jdk/internal/jvmci/meta/AllocatableValue.java	Wed Aug 05 11:24:09 2015 +0200
@@ -26,7 +26,7 @@
  * Common base class for values that are stored in some location that's managed by the register
  * allocator (e.g. register, stack slot).
  */
-public abstract class AllocatableValue extends AbstractValue implements JavaValue, KindProvider {
+public abstract class AllocatableValue extends AbstractValue implements JavaValue {
 
     public static final AllocatableValue[] NONE = {};
 
--- a/jvmci/jdk.internal.jvmci.meta/src/jdk/internal/jvmci/meta/KindProvider.java	Wed Aug 05 00:22:17 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2014, 2014, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-package jdk.internal.jvmci.meta;
-
-/**
- * Interface for classes which can be associated with a Kind.
- */
-public interface KindProvider {
-
-    Kind getKind();
-
-}
--- a/jvmci/jdk.internal.jvmci.meta/src/jdk/internal/jvmci/meta/Value.java	Wed Aug 05 00:22:17 2015 +0200
+++ b/jvmci/jdk.internal.jvmci.meta/src/jdk/internal/jvmci/meta/Value.java	Wed Aug 05 11:24:09 2015 +0200
@@ -26,7 +26,7 @@
  * Interface for values manipulated by the compiler. All values have a {@linkplain Kind kind} and
  * are immutable.
  */
-public interface Value extends KindProvider, TrustedInterface {
+public interface Value extends TrustedInterface {
 
     Value[] NO_VALUES = new Value[0];
 
@@ -50,6 +50,8 @@
         }
     }
 
+    Kind getKind();
+
     LIRKind getLIRKind();
 
     /**