use of com.oracle.truffle.api.frame.FrameDescriptor.Builder in project graal by oracle.
the class BasicNodeFactory method getLazyUnsupportedInlineRootNode.
private LLVMInlineAssemblyRootNode getLazyUnsupportedInlineRootNode(String asmExpression, AsmParseException e) {
LLVMInlineAssemblyRootNode assemblyRoot;
String message = asmExpression + ": " + e.getMessage();
FrameDescriptor.Builder builder = FrameDescriptor.newBuilder();
addStackSlots(builder);
assemblyRoot = new LLVMInlineAssemblyRootNode(language, builder.build(), createStackAccess(), Collections.singletonList(LLVMUnsupportedInstructionNode.create(UnsupportedReason.INLINE_ASSEMBLER, message)), Collections.emptyList(), null);
return assemblyRoot;
}
Aggregations