mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user