< prev index next >
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotBackend.java
Print this page
rev 52509 : [mq]: graal2
*** 439,451 ****
HotSpotInstructionProfiling.countInstructions(lir, crb.asm);
}
}
@Override
! public CompiledCode createCompiledCode(ResolvedJavaMethod method, CompilationRequest compilationRequest, CompilationResult compResult) {
HotSpotCompilationRequest compRequest = compilationRequest instanceof HotSpotCompilationRequest ? (HotSpotCompilationRequest) compilationRequest : null;
! return HotSpotCompiledCodeBuilder.createCompiledCode(getCodeCache(), method, compRequest, compResult);
}
@Override
public CompilationIdentifier getCompilationIdentifier(ResolvedJavaMethod resolvedJavaMethod) {
if (resolvedJavaMethod instanceof HotSpotResolvedJavaMethod) {
--- 439,456 ----
HotSpotInstructionProfiling.countInstructions(lir, crb.asm);
}
}
@Override
! public CompiledCode createCompiledCode(ResolvedJavaMethod method,
! CompilationRequest compilationRequest,
! CompilationResult compResult,
! boolean isDefault,
! OptionValues options) {
! assert !isDefault || compResult.getName() == null : "a default nmethod should have a null name since it is associated with a Method*";
HotSpotCompilationRequest compRequest = compilationRequest instanceof HotSpotCompilationRequest ? (HotSpotCompilationRequest) compilationRequest : null;
! return HotSpotCompiledCodeBuilder.createCompiledCode(getCodeCache(), method, compRequest, compResult, options);
}
@Override
public CompilationIdentifier getCompilationIdentifier(ResolvedJavaMethod resolvedJavaMethod) {
if (resolvedJavaMethod instanceof HotSpotResolvedJavaMethod) {
< prev index next >