HomePhabricator

CGDebugInfo: Delete unneeded UnwrapTypeForDebugInfo

Authored by MaskRay on Sun, Jan 10, 10:22 PM.

Description

CGDebugInfo: Delete unneeded UnwrapTypeForDebugInfo

Tested with stage 2 -DCMAKE_BUILD_TYPE=Debug clang, byte identical.

Details

Committed
MaskRaySun, Jan 10, 10:22 PM
Parents
rG6215c1b778f6: CGDebugInfo: Delete redundant test
Branches
Unknown
Tags
Unknown

Event Timeline

Might still be a useful conversion for possible future callsites? Or are all the call sites pretty clearly not using this?

If there's some uncertainty, perhaps it'd be worth including an assertion that Ty == unwrap(Ty)?

Might still be a useful conversion for possible future callsites? Or are all the call sites pretty clearly not using this?

If there's some uncertainty, perhaps it'd be worth including an assertion that Ty == unwrap(Ty)?

An assertion sound good. I'll add it...