Fix typos caused by find-and-replace

This commit is contained in:
Lachlan Sneff
2018-06-14 01:14:59 -04:00
committed by Dan Gohman
parent 5c320a0d30
commit 3686fc2fc7
26 changed files with 71 additions and 80 deletions

View File

@@ -168,7 +168,7 @@ impl<'a> Verifier<'a> {
}
}
// Check for cycles in the global valueiable declarations.
// Check for cycles in the global value declarations.
fn verify_global_values(&self) -> VerifierResult<()> {
let mut seen = SparseSet::new();
@@ -415,7 +415,7 @@ impl<'a> Verifier<'a> {
fn verify_global_value(&self, inst: Inst, gv: GlobalValue) -> VerifierResult<()> {
if !self.func.global_values.is_valid(gv) {
err!(inst, "invalid global valueiable {}", gv)
err!(inst, "invalid global value {}", gv)
} else {
Ok(())
}