When type casting of the return value is needed, promoteIndirectCall will return the type casting instruction instead of the direct call. This patch changed to return the direct call instruction instead.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 3670 Build 3670: arc lint + arc unit
Event Timeline
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp | ||
---|---|---|
562 | stripPointerCasts call? This probably should be called at the caller of promoteIndirectcall |
stripPointerCasts call? This probably should be called at the caller of promoteIndirectcall