Mercurial > hg > graal-jvmci-8
changeset 23397:a7b12c1ab514
Javadoc fix.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Fri, 13 May 2016 16:38:50 +0200 |
parents | 9ed5b586018b |
children | 3e8ce13f4e12 |
files | jvmci/jdk.vm.ci.code/src/jdk/vm/ci/code/RegisterValue.java jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ValueKind.java |
diffstat | 2 files changed, 2 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.code/src/jdk/vm/ci/code/RegisterValue.java Fri May 13 14:33:19 2016 +0200 +++ b/jvmci/jdk.vm.ci.code/src/jdk/vm/ci/code/RegisterValue.java Fri May 13 16:38:50 2016 +0200 @@ -23,22 +23,15 @@ package jdk.vm.ci.code; import jdk.vm.ci.meta.AllocatableValue; -import jdk.vm.ci.meta.JavaKind; import jdk.vm.ci.meta.ValueKind; /** - * Denotes a register that stores a value of a fixed kind. There is exactly one (canonical) instance - * of {@link RegisterValue} for each ({@link Register}, {@link JavaKind}) pair. Use - * {@link Register#asValue(ValueKind)} to retrieve the canonical {@link RegisterValue} instance for - * a given (register,kind) pair. + * Denotes a register that stores a value of a fixed kind. */ public final class RegisterValue extends AllocatableValue { private final Register reg; - /** - * Should only be called from {@link Register#Register} to ensure canonicalization. - */ protected RegisterValue(ValueKind<?> kind, Register register) { super(kind); this.reg = register;
--- a/jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ValueKind.java Fri May 13 14:33:19 2016 +0200 +++ b/jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ValueKind.java Fri May 13 16:38:50 2016 +0200 @@ -78,7 +78,7 @@ } /** - * Create a new {@link ValueKind} with a different {@link PlatformKind}. Subclasses should + * Create a new {@link ValueKind} with a different {@link PlatformKind}. Subclasses must * override this to preserve the additional information added by the compiler. */ public abstract K changeType(PlatformKind newPlatformKind);