llvm-svn: 248549
This commit is contained in:
Matt Arsenault
2015-09-24 22:36:49 +00:00
parent 7146f7bcf9
commit 50f0a42b66

View File

@@ -865,7 +865,7 @@ void LiveInterval::constructMainRangeFromSubranges(
// - If any of the subranges is live at a point the main liverange has to be
// live too, conversily if no subrange is live the main range mustn't be
// live either.
// We do this by scannig through all the subranges simultaneously creating new
// We do this by scanning through all the subranges simultaneously creating new
// segments in the main range as segments start/ends come up in the subranges.
assert(hasSubRanges() && "expected subranges to be present");
assert(segments.empty() && valnos.empty() && "expected empty main range");