Mercurial > hg > truffle
comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/jvmci/HotSpotMetaAccessProvider.java @ 21527:07b088d61d5d
added HotSpotJVMCIRuntime* classes, replaced references to HotSpotGraalRuntime in VM with HotSpotJVMCIRuntime (JBS:GRAAL-53)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 22 May 2015 23:26:20 +0200 |
parents | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotMetaAccessProvider.java@7f4cb7587f4c |
children |
comparison
equal
deleted
inserted
replaced
21526:1da7aef31a08 | 21527:07b088d61d5d |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
38 /** | 38 /** |
39 * HotSpot implementation of {@link MetaAccessProvider}. | 39 * HotSpot implementation of {@link MetaAccessProvider}. |
40 */ | 40 */ |
41 public class HotSpotMetaAccessProvider implements MetaAccessProvider, HotSpotProxified { | 41 public class HotSpotMetaAccessProvider implements MetaAccessProvider, HotSpotProxified { |
42 | 42 |
43 protected final HotSpotGraalRuntimeProvider runtime; | 43 protected final HotSpotJVMCIRuntimeProvider runtime; |
44 | 44 |
45 public HotSpotMetaAccessProvider(HotSpotGraalRuntimeProvider runtime) { | 45 public HotSpotMetaAccessProvider(HotSpotJVMCIRuntimeProvider runtime) { |
46 this.runtime = runtime; | 46 this.runtime = runtime; |
47 } | 47 } |
48 | 48 |
49 public ResolvedJavaType lookupJavaType(Class<?> clazz) { | 49 public ResolvedJavaType lookupJavaType(Class<?> clazz) { |
50 if (clazz == null) { | 50 if (clazz == null) { |