Skip to content

Commit

Permalink
[OS][ww04] - Upstreaming compiler repository - follow up, warnings fix (
Browse files Browse the repository at this point in the history
  • Loading branch information
DariaMityagina authored Jan 29, 2025
1 parent 03d8801 commit 5fd0b93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ Const::RodataBundleOp ConvertConstArgsToMultiConstants::buildRodataBundleOp(Cons
// create 'const.Rodata' op from a 'const.Declare' op, if it doesn't already exist
if (rodataOp == nullptr) {
std::string symName = formatv("{0}{1}", RODATA_PREFIX, _declareOpToRodataOp.getOperationMap().size());
const auto& content = declareOp.getContentAttr().getBaseContent();
auto content = declareOp.getContentAttr().getBaseContent();
rodataOp = dataBodyBuilder.create<Const::RodataOp>(dataOp->getLoc(), symName, content);
_declareOpToRodataOp.map(declareOp, rodataOp);
}
Expand Down

0 comments on commit 5fd0b93

Please sign in to comment.