swift
c9d96bcd - [Profiler] Assert that we always have function bodies

Commit
2 years ago
[Profiler] Assert that we always have function bodies It seems like this defensive logic was written back when we could create SILProfilers for declarations in addition to definitions. Now we should only ever create SILProfilers for definitions, so we can assert that we always have a function body available.
Author
Parents
  • lib/SIL/IR
    • File
      SILProfiler.cpp