aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/minikql/codegen/no_llvm/codegen_dummy.cpp
blob: 88f37f8d481d0b3dcea4a1b132d76beca60efb38 (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;
}

}
}