diff options
author | vvvv <vvvv@yandex-team.com> | 2025-01-14 11:57:29 +0300 |
---|---|---|
committer | vvvv <vvvv@yandex-team.com> | 2025-01-14 12:19:19 +0300 |
commit | 5593aaf904fb630ebded70fb964bc73b39bc053a (patch) | |
tree | 8d52fa90c984c79168da59d5f12a0a13c1d8a61b /yql/essentials/minikql/comp_nodes/mkql_timezone.cpp | |
parent | c84f9bf19d66e2e3d96a52f6f2181676ebca8a52 (diff) | |
download | ydb-5593aaf904fb630ebded70fb964bc73b39bc053a.tar.gz |
minikql - llvm16 compatibility (opaque pointers and some other stuff)
commit_hash:c166e0d029d87d2a10e5adfc3acf20a849670881
Diffstat (limited to 'yql/essentials/minikql/comp_nodes/mkql_timezone.cpp')
-rw-r--r-- | yql/essentials/minikql/comp_nodes/mkql_timezone.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yql/essentials/minikql/comp_nodes/mkql_timezone.cpp b/yql/essentials/minikql/comp_nodes/mkql_timezone.cpp index 3dd00cd7b4..7bcdd30d56 100644 --- a/yql/essentials/minikql/comp_nodes/mkql_timezone.cpp +++ b/yql/essentials/minikql/comp_nodes/mkql_timezone.cpp @@ -116,7 +116,7 @@ public: if (IsOptional1) { result->addIncoming(value, block); const auto good = BasicBlock::Create(context, "good", ctx.Func); - BranchInst::Create(done, good, IsEmpty(value, block), block); + BranchInst::Create(done, good, IsEmpty(value, block, context), block); block = good; } @@ -125,7 +125,7 @@ public: const auto id = GetterFor<ui16>(tz, context, block); const auto big = CmpInst::Create(Instruction::ICmp, ICmpInst::ICMP_UGE, id, ConstantInt::get(id->getType(), TimezonesCount), "big", block); - auto test = IsOptional2 ? BinaryOperator::CreateOr(IsEmpty(tz, block), big, "test", block) : static_cast<Value*>(big); + auto test = IsOptional2 ? BinaryOperator::CreateOr(IsEmpty(tz, block, context), big, "test", block) : static_cast<Value*>(big); for (const auto black : BlackList) { const auto& str = ToString(black); |