@@ -273,7 +273,7 @@ class TKqpScanWideReadTableWrapperBase : public TStatelessWideFlowCodegeneratorN
273
273
new StoreInst (init, fields, &ctx.Func ->getEntryBlock ().back ());
274
274
275
275
const auto ptrType = PointerType::getUnqual (StructType::get (context));
276
- const auto func = ConstantInt::get (Type::getInt64Ty (context), GetMethodPtr ( &TKqpScanWideReadTableWrapperBase::DoCalculate));
276
+ const auto func = ConstantInt::get (Type::getInt64Ty (context), GetMethodPtr< &TKqpScanWideReadTableWrapperBase::DoCalculate>( ));
277
277
const auto self = CastInst::Create (Instruction::IntToPtr, ConstantInt::get (Type::getInt64Ty (context), uintptr_t (this )), ptrType, " self" , block);
278
278
const auto funcType = FunctionType::get (Type::getInt32Ty (context), { self->getType (), ctx.Ctx ->getType (), fields->getType () }, false );
279
279
const auto funcPtr = CastInst::Create (Instruction::IntToPtr, func, PointerType::getUnqual (funcType), " fetch_func" , block);
@@ -410,7 +410,7 @@ class TKqpScanBlockReadTableWrapperBase : public TStatelessWideFlowCodegenerator
410
410
new StoreInst (init, fields, &ctx.Func ->getEntryBlock ().back ());
411
411
412
412
const auto ptrType = PointerType::getUnqual (StructType::get (context));
413
- const auto func = ConstantInt::get (Type::getInt64Ty (context), GetMethodPtr ( &TKqpScanBlockReadTableWrapperBase::DoCalculate));
413
+ const auto func = ConstantInt::get (Type::getInt64Ty (context), GetMethodPtr< &TKqpScanBlockReadTableWrapperBase::DoCalculate>( ));
414
414
const auto self = CastInst::Create (Instruction::IntToPtr, ConstantInt::get (Type::getInt64Ty (context), uintptr_t (this )), ptrType, " self" , block);
415
415
const auto funcType = FunctionType::get (Type::getInt32Ty (context), { self->getType (), ctx.Ctx ->getType (), fields->getType () }, false );
416
416
const auto funcPtr = CastInst::Create (Instruction::IntToPtr, func, PointerType::getUnqual (funcType), " fetch_func" , block);
0 commit comments