diff options
Diffstat (limited to 'bolt/lib/Core/BinaryEmitter.cpp')
| -rw-r--r-- | bolt/lib/Core/BinaryEmitter.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bolt/lib/Core/BinaryEmitter.cpp b/bolt/lib/Core/BinaryEmitter.cpp index 89043db03102..f6dfa249f9a9 100644 --- a/bolt/lib/Core/BinaryEmitter.cpp +++ b/bolt/lib/Core/BinaryEmitter.cpp @@ -258,14 +258,6 @@ void BinaryEmitter::emitFunctions() { if (Emitted) Function->setEmitted(/*KeepCFG=*/opts::PrintCacheMetrics); - - // Emit thunks. - if (BC.getThunkLocation() != Function) - continue; - - for (BinaryFunction *Thunk : BC.getThunkBinaryFunctions()) { - emitFunction(*Thunk, Thunk->getLayout().getMainFragment()); - } } }; |
