Package com.oracle.truffle.sl.bytecode
Class SLBytecodeSerialization
java.lang.Object
com.oracle.truffle.sl.bytecode.SLBytecodeSerialization
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.oracle.truffle.api.bytecode.BytecodeRootNodes<SLBytecodeRootNode> deserializeNodes(SLLanguage language, byte[] inputData) static byte[]serializeNodes(com.oracle.truffle.api.bytecode.BytecodeParser<com.oracle.truffle.sl.bytecode.SLBytecodeRootNodeGen.Builder> parser)
-
Method Details
-
serializeNodes
public static byte[] serializeNodes(com.oracle.truffle.api.bytecode.BytecodeParser<com.oracle.truffle.sl.bytecode.SLBytecodeRootNodeGen.Builder> parser) throws IOException - Throws:
IOException
-
deserializeNodes
public static com.oracle.truffle.api.bytecode.BytecodeRootNodes<SLBytecodeRootNode> deserializeNodes(SLLanguage language, byte[] inputData) throws IOException - Throws:
IOException
-