Minor comment cleanups.

This commit is contained in:
Dan Gohman
2017-08-31 16:16:08 -07:00
parent 1d03244e90
commit de02976162
3 changed files with 5 additions and 5 deletions

View File

@@ -162,7 +162,7 @@ pub fn legalize_abi_value(have: Type, arg: &ArgumentType) -> ValueConversion {
}
// We have the same number of bits as the argument.
Ordering::Equal => {
// This must be an integer vector that is split and then extended.
// This must be an integer vector that is split and then extended.
assert!(arg.value_type.is_int());
assert!(!have.is_scalar());
ValueConversion::VectorSplit

View File

@@ -97,7 +97,7 @@ fn create_pre_header(
//
// A loop header has a pre-header if there is only one predecessor that the header doesn't
// dominate.
// Returns the pre-header Ebb and the instruction jumping to the header.
// Returns the pre-header Ebb and the instruction jumping to the header.
fn has_pre_header(
layout: &Layout,
cfg: &ControlFlowGraph,