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_withcontext.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_withcontext.cpp')
-rw-r--r-- | yql/essentials/minikql/comp_nodes/mkql_withcontext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yql/essentials/minikql/comp_nodes/mkql_withcontext.cpp b/yql/essentials/minikql/comp_nodes/mkql_withcontext.cpp index 99beb2db55..163f76e38c 100644 --- a/yql/essentials/minikql/comp_nodes/mkql_withcontext.cpp +++ b/yql/essentials/minikql/comp_nodes/mkql_withcontext.cpp @@ -116,7 +116,7 @@ public: const auto make = BasicBlock::Create(context, "make", ctx.Func); const auto main = BasicBlock::Create(context, "main", ctx.Func); - BranchInst::Create(main, make, HasValue(statePtr, block), block); + BranchInst::Create(main, make, HasValue(statePtr, block, context), block); block = make; const auto ptrType = PointerType::getUnqual(StructType::get(context)); @@ -139,7 +139,7 @@ public: CallInst::Create(attachFuncType, attachFuncPtr, { stateArg }, "", block); const auto value = GetNodeValue(Flow, ctx, block); - const auto finish = IsFinish(value, block); + const auto finish = IsFinish(value, block, context); const auto detachFunc = ConstantInt::get(Type::getInt64Ty(context), GetMethodPtr(&TState::Detach)); const auto detachFuncType = FunctionType::get(Type::getVoidTy(context), { statePtrType, finish->getType() }, false); @@ -198,7 +198,7 @@ public: const auto good = BasicBlock::Create(context, "good", ctx.Func); const auto exit = BasicBlock::Create(context, "exit", ctx.Func); - BranchInst::Create(main, make, HasValue(statePtr, block), block); + BranchInst::Create(main, make, HasValue(statePtr, block, context), block); block = make; const auto ptrType = PointerType::getUnqual(StructType::get(context)); |