Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/MemoryAccessProvider.java @ 23393:1d4ce2d19e52
clean up and minimize JVMCI (JDK-8156835)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 12 May 2016 20:57:31 +0200 |
parents | 73ceb487b9ca |
children | 0cbc2bd101c3 |
comparison
equal
deleted
inserted
replaced
23392:b3a816d3b844 | 23393:1d4ce2d19e52 |
---|---|
33 * | 33 * |
34 * @param base the base address from which the value is read. | 34 * @param base the base address from which the value is read. |
35 * @param displacement the displacement within the object in bytes | 35 * @param displacement the displacement within the object in bytes |
36 * @return the read value encapsulated in a {@link JavaConstant} object, or {@code null} if the | 36 * @return the read value encapsulated in a {@link JavaConstant} object, or {@code null} if the |
37 * value cannot be read. | 37 * value cannot be read. |
38 * @throws IllegalArgumentException if {@code kind} is {@code null}, {@link JavaKind#Void} or | 38 * @throws IllegalArgumentException if {@code kind} is {@code null}, {@link JavaKind#Void}, not |
39 * not {@linkplain JavaKind#isPrimitive() primitive} kind | 39 * {@link JavaKind#Object} or not {@linkplain JavaKind#isPrimitive() primitive} kind |
40 */ | 40 */ |
41 JavaConstant readUnsafeConstant(JavaKind kind, JavaConstant base, long displacement) throws IllegalArgumentException; | 41 JavaConstant readUnsafeConstant(JavaKind kind, JavaConstant base, long displacement) throws IllegalArgumentException; |
42 | 42 |
43 /** | 43 /** |
44 * Reads a primitive value using a base address and a displacement. | 44 * Reads a primitive value using a base address and a displacement. |