mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[thunk-lowering] Add a pass that performs lowering of ThunkInsts.
Right now it just handles the "identity" case so we can validate the functionality.
This commit is contained in:
@@ -644,6 +644,13 @@ public:
|
||||
return {functions.begin(), functions.end()};
|
||||
}
|
||||
|
||||
/// Move \p fn to be in the function list before \p moveBefore.
|
||||
void moveBefore(SILModule::iterator moveBefore, SILFunction *fn);
|
||||
|
||||
/// Move \p fn to be in the function list after \p moveAfter. It is assumed
|
||||
/// that \p moveAfter is not end.
|
||||
void moveAfter(SILModule::iterator moveAfter, SILFunction *fn);
|
||||
|
||||
const_iterator zombies_begin() const { return zombieFunctions.begin(); }
|
||||
const_iterator zombies_end() const { return zombieFunctions.end(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user