We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5e9c24e + ffdd55a commit 3f91269Copy full SHA for 3f91269
lib/SILOptimizer/Transforms/TempRValueElimination.cpp
@@ -736,7 +736,7 @@ void TempRValueOptPass::run() {
736
// Delete the copies and any unused address operands.
737
// The same copy may have been added multiple times.
738
sortUnique(deadCopies);
739
- InstModCallbacks callbacks(
+ InstModCallbacks callbacks{
740
#ifndef NDEBUG
741
// With asserts, we include this assert. Otherwise, we use the default
742
// impl for perf.
@@ -747,7 +747,7 @@ void TempRValueOptPass::run() {
747
instToKill->eraseFromParent();
748
}
749
#endif
750
- );
+ };
751
752
for (auto *deadCopy : deadCopies) {
753
assert(changed);
0 commit comments