comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntimeStub.java @ 21526:1da7aef31a08

created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Tue, 19 May 2015 23:16:07 +0200
parents 347915b8cea8
children 5324104ac4f3
comparison
equal deleted inserted replaced
21489:b3f1d8b23037 21526:1da7aef31a08
22 */ 22 */
23 package com.oracle.graal.hotspot.meta; 23 package com.oracle.graal.hotspot.meta;
24 24
25 import com.oracle.graal.api.code.*; 25 import com.oracle.graal.api.code.*;
26 import com.oracle.graal.api.meta.*; 26 import com.oracle.graal.api.meta.*;
27 import com.oracle.graal.compiler.common.*; 27 import com.oracle.graal.hotspot.jvmci.*;
28 import com.oracle.graal.hotspot.stubs.*; 28 import com.oracle.graal.hotspot.stubs.*;
29 29
30 /** 30 /**
31 * Implementation of {@link InstalledCode} for code installed as a RuntimeStub. 31 * Implementation of {@link InstalledCode} for code installed as a RuntimeStub.
32 */ 32 */
57 return String.format("InstalledRuntimeStub[stub=%s, codeBlob=0x%x]", stub, getAddress()); 57 return String.format("InstalledRuntimeStub[stub=%s, codeBlob=0x%x]", stub, getAddress());
58 } 58 }
59 59
60 @Override 60 @Override
61 public Object executeVarargs(Object... args) throws InvalidInstalledCodeException { 61 public Object executeVarargs(Object... args) throws InvalidInstalledCodeException {
62 throw new GraalInternalError("Cannot call stub %s", stub); 62 throw new InternalError("Cannot call stub " + stub);
63 } 63 }
64 } 64 }