# HG changeset patch # User Doug Simon # Date 1417336528 0 # Node ID c296b906b9ebe66155a86b944ed112941a7a0668 # Parent 487c792de3dccfbed083f2347ab566290170bbd0 added missing SubstitutionGuard binding for HotSpotVMConfig diff -r 487c792de3dc -r c296b906b9eb graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotSnippetReflectionProvider.java --- 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; }