Commit e8513044 authored by Logan Chien's avatar Logan Chien
Browse files

Fix assertion failure on DeferredDeclsToEmit.

The assertion failure will be raised by TryEmitDefinitionAsAlias()
because it will call Entry->replaceAllUsesWith(Alias) and Entry
might be hold by the AssertingVH, which will become a dangling
pointer after RAUW.

This commit fixes the problem by replacing AssertingVH with
TrackingVH.
parent 0770410f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment