@@ -404,7 +404,7 @@ using TBaseComputation = TStatefulWideFlowCodegeneratorNode<TWideTopWrapper<Sort
404
404
#ifndef MKQL_DISABLE_CODEGEN
405
405
ICodegeneratorInlineWideNode::TGenerateResult DoGenGetValues (const TCodegenContext& ctx, Value* statePtr, BasicBlock*& block) const {
406
406
auto & context = ctx.Codegen .GetContext ();
407
- DIScopeAnnotator annotate (* ctx.Annotator );
407
+ DIScopeAnnotator annotate (ctx.Annotator );
408
408
409
409
const auto valueType = Type::getInt128Ty (context);
410
410
const auto ptrValueType = PointerType::getUnqual (valueType);
@@ -424,7 +424,7 @@ using TBaseComputation = TStatefulWideFlowCodegeneratorNode<TWideTopWrapper<Sort
424
424
425
425
for (auto i = 0U ; i < getters.size (); ++i) {
426
426
getters[Indexes[i]] = [i, outs, indexType, valueType, outputPtrType, outputType](const TCodegenContext& ctx, BasicBlock*& block) {
427
- DIScopeAnnotator annotate (* ctx.Annotator );
427
+ DIScopeAnnotator annotate (ctx.Annotator );
428
428
const auto values = annotate (new LoadInst (outputPtrType, outs, " values" , block));
429
429
const auto pointer = annotate (GetElementPtrInst::CreateInBounds (outputType, values, {ConstantInt::get (indexType, 0 ), ConstantInt::get (indexType, i)}, (TString (" ptr_" ) += ToString (i)).c_str (), block));
430
430
return annotate (new LoadInst (valueType, pointer, (TString (" load_" ) += ToString (i)).c_str (), block));
@@ -927,7 +927,7 @@ using TBaseComputation = TStatefulWideFlowCodegeneratorNode<TWideSortWrapper>;
927
927
#ifndef MKQL_DISABLE_CODEGEN
928
928
ICodegeneratorInlineWideNode::TGenerateResult DoGenGetValues (const TCodegenContext& ctx, Value* statePtr, BasicBlock*& block) const {
929
929
auto & context = ctx.Codegen .GetContext ();
930
- DIScopeAnnotator annotate (* ctx.Annotator );
930
+ DIScopeAnnotator annotate (ctx.Annotator );
931
931
932
932
const auto valueType = Type::getInt128Ty (context);
933
933
const auto ptrValueType = PointerType::getUnqual (valueType);
@@ -947,7 +947,7 @@ using TBaseComputation = TStatefulWideFlowCodegeneratorNode<TWideSortWrapper>;
947
947
948
948
for (auto i = 0U ; i < getters.size (); ++i) {
949
949
getters[Indexes[i]] = [i, outs, indexType, valueType, outputPtrType, outputType](const TCodegenContext& ctx, BasicBlock*& block) {
950
- DIScopeAnnotator annotate (* ctx.Annotator );
950
+ DIScopeAnnotator annotate (ctx.Annotator );
951
951
const auto values = annotate (new LoadInst (outputPtrType, outs, " values" , block));
952
952
const auto pointer = annotate (GetElementPtrInst::CreateInBounds (outputType, values, {ConstantInt::get (indexType, 0 ), ConstantInt::get (indexType, i)}, (TString (" ptr_" ) += ToString (i)).c_str (), block));
953
953
return annotate (new LoadInst (valueType, pointer, (TString (" load_" ) += ToString (i)).c_str (), block));
0 commit comments