[CodeGen] Always update map entry after adding initializer
With opaque pointers the pointer cast may be a no-op, such that var and castedAddr are the same. However, we still need to update the map entry as the underlying global changed. We could explicitly check whether the global was replaced, but we may as well just always update the entry.
Loading
Please sign in to comment