package p.studio.compiler.backend.bytecode;

public enum BytecodeMarshalingErrorCode {
    MARSHAL_FORMAT_STRING_TOO_LONG,
    MARSHAL_FORMAT_SYSC_MODULE_TOO_LONG,
    MARSHAL_FORMAT_SYSC_NAME_TOO_LONG,
    MARSHAL_FORMAT_PC_SPAN_OUT_OF_BOUNDS,
    MARSHAL_LINKAGE_RAW_SYSCALL_IN_PRELOAD,
    MARSHAL_LINKAGE_HOST_ABI_MISMATCH,
    MARSHAL_VERIFY_PRECHECK_FUNCTION_BOUNDS_INVALID,
    MARSHAL_VERIFY_PRECHECK_EXPORT_FUNC_INDEX_INVALID,
    MARSHAL_VERIFY_PRECHECK_HOSTCALL_INDEX_INVALID,
    MARSHAL_VERIFY_PRECHECK_UNKNOWN_OPCODE,
    MARSHAL_VERIFY_PRECHECK_TRUNCATED_INSTRUCTION,
    MARSHAL_VERIFY_PRECHECK_UNTERMINATED_FUNCTION,
}
