Support CSE of thin_function_to_pointer/pointer_to_thin_function.

Fixes <rdar://problem/19285001>

Patch by Luqman Aden <luqman_aden@apple.com>.

Swift SVN r24604
This commit is contained in:
Mark Lacey
2015-01-21 19:36:51 +00:00
parent 3958f0b0f9
commit fa49f01edf
3 changed files with 43 additions and 1 deletions

View File

@@ -538,7 +538,13 @@ namespace {
return true;
}
bool visitRefToBridgeObjectInst(RefToBridgeObjectInst *X) {
bool visitRefToBridgeObjectInst(RefToBridgeObjectInst *X) {
return true;
}
bool visitThinFunctionToPointerInst(ThinFunctionToPointerInst *X) {
return true;
}
bool visitPointerToThinFunctionInst(PointerToThinFunctionInst *X) {
return true;
}
private: