Mercurial > hg > truffle
changeset 18577:c296b906b9eb
added missing SubstitutionGuard binding for HotSpotVMConfig
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sun, 30 Nov 2014 08:35:28 +0000 |
parents | 487c792de3dc |
children | f262c6c5fb7a |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotSnippetReflectionProvider.java |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotSnippetReflectionProvider.java Sun Nov 30 00:17:21 2014 +0000 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotSnippetReflectionProvider.java Sun Nov 30 08:35:28 2014 +0000 @@ -60,6 +60,9 @@ if (type.isInstance(runtime)) { return runtime; } + if (type.isInstance(runtime.getConfig())) { + return runtime.getConfig(); + } return null; }