Files
swift-mirror/lib/SILGen/SILGenProfiling.cpp
Vedant Kumar d060eef398 [Coverage] Simplify a check (NFC)
When handling ternary expressions, we check that an active region exists
before attempting to access its counter. It's not necessary to check
that the parent AST node is null, and also that the region stack is
empty. The second check is stronger than the first one.
2017-03-31 17:35:09 -07:00

26 KiB