tags 1086320 + patch
thanks

Trivial patch attached (but untested).
I wonder how this worked at all before.

Thanks.
--- a/swift/include/swift/SILOptimizer/Utils/UpdatingInstructionIterator.h
+++ b/swift/include/swift/SILOptimizer/Utils/UpdatingInstructionIterator.h
@@ -86,7 +86,7 @@ public:
   }
 
   Self &operator=(const Self &rhs) {
-    this->regsitry = rhs.registry;
+    this->registry = rhs.registry;
     this->base = rhs.base;
     this->advanced = rhs.advanced;
     registry->registerIterator(this);

Reply via email to