r332057 introduced distance() for ranges. Based on post-commit feedback,
this renames distance() to size(). The new size() is also only enabled
when the operation is O(1).
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM
lib/CodeGen/ImplicitNullChecks.cpp | ||
---|---|---|
600 | Can you just change this to NumDefs == 1? The end for defs() is calculated with MI->getDesc().getNumDefs() which is what NumDefs is assigned to. |
Can you just change this to NumDefs == 1? The end for defs() is calculated with MI->getDesc().getNumDefs() which is what NumDefs is assigned to.