summaryrefslogtreecommitdiffstats
path: root/yql/essentials/minikql/codegen/no_llvm/codegen_dummy.cpp
blob: e1a66cc1c1d299da8cbbb8bf49d563c339f7dbfb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "codegen.h"

#include <util/generic/yexception.h>

namespace NYql {
namespace NCodegen {

ICodegen::TPtr ICodegen::Make(ETarget target, ESanitize sanitize) {
    Y_UNUSED(target);
    Y_UNUSED(sanitize);
    throw yexception() << "Codegen is not available";
}

ICodegen::TSharedPtr ICodegen::MakeShared(ETarget target, ESanitize sanitize) {
    Y_UNUSED(target);
    Y_UNUSED(sanitize);
    throw yexception() << "Codegen is not available";
}

bool ICodegen::IsCodegenAvailable() {
    return false;
}

} // namespace NCodegen
} // namespace NYql