# HG changeset patch # User Roland Schatz # Date 1438766649 -7200 # Node ID 37ec3ff2f8e0abcf16968656eecb93f9157fa2fe # Parent 31e0737e2fcec24b6f1aa01ffbf0e683c0ef4044 Remove unused interface KindProvider. diff -r 31e0737e2fce -r 37ec3ff2f8e0 jvmci/jdk.internal.jvmci.meta/src/jdk/internal/jvmci/meta/AbstractValue.java --- 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; diff -r 31e0737e2fce -r 37ec3ff2f8e0 jvmci/jdk.internal.jvmci.meta/src/jdk/internal/jvmci/meta/AllocatableValue.java --- 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 = {}; diff -r 31e0737e2fce -r 37ec3ff2f8e0 jvmci/jdk.internal.jvmci.meta/src/jdk/internal/jvmci/meta/KindProvider.java --- 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(); - -} diff -r 31e0737e2fce -r 37ec3ff2f8e0 jvmci/jdk.internal.jvmci.meta/src/jdk/internal/jvmci/meta/Value.java --- 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(); /**