use of com.oracle.svm.core.code.DeoptimizationSourcePositionEncoder in project graal by oracle.
the class InstalledCodeBuilder method createCodeChunkInfos.
private void createCodeChunkInfos() {
CodeInfoEncoder codeInfoEncoder = new CodeInfoEncoder(new FrameInfoEncoder.NamesFromImage(), metaInfoAllocator);
codeInfoEncoder.addMethod(method, compilation, 0);
codeInfoEncoder.encodeAll();
codeInfoEncoder.install(runtimeMethodInfo);
assert codeInfoEncoder.verifyMethod(compilation, 0);
DeoptimizationSourcePositionEncoder sourcePositionEncoder = new DeoptimizationSourcePositionEncoder(metaInfoAllocator);
sourcePositionEncoder.encode(compilation.getDeoptimzationSourcePositions());
sourcePositionEncoder.install(runtimeMethodInfo);
}
Aggregations