fixed typos, added typos checking to CI

This commit is contained in:
Anton-4 2021-06-05 20:02:54 +02:00
parent 960a4fddc5
commit 314503cf7f
43 changed files with 114 additions and 101 deletions

View file

@ -205,7 +205,7 @@ pub struct Backend64Bit<
float_used_callee_saved_regs: MutSet<FloatReg>,
stack_size: u32,
// The ammount of stack space needed to pass args for function calling.
// The amount of stack space needed to pass args for function calling.
fn_call_stack_size: u32,
}
@ -409,7 +409,7 @@ impl<
Ok(())
}
x => Err(format!(
"recieving return type, {:?}, is not yet implemented",
"receiving return type, {:?}, is not yet implemented",
x
)),
}

View file

@ -236,7 +236,7 @@ impl CallConv<X86_64GeneralReg, X86_64FloatReg> for X86_64SystemV {
Layout::Builtin(Builtin::Float64) => {}
x => {
return Err(format!(
"recieving return type, {:?}, is not yet implemented",
"receiving return type, {:?}, is not yet implemented",
x
));
}
@ -530,7 +530,7 @@ impl CallConv<X86_64GeneralReg, X86_64FloatReg> for X86_64WindowsFastcall {
Layout::Builtin(Builtin::Float64) => {}
x => {
return Err(format!(
"recieving return type, {:?}, is not yet implemented",
"receiving return type, {:?}, is not yet implemented",
x
));
}

View file

@ -145,7 +145,7 @@ where
) -> Result<(), String>;
/// build_expr builds the expressions for the specified symbol.
/// The builder must keep track of the symbol because it may be refered to later.
/// The builder must keep track of the symbol because it may be referred to later.
fn build_expr(
&mut self,
sym: &Symbol,
@ -230,7 +230,7 @@ where
}
/// build_run_low_level builds the low level opertation and outputs to the specified symbol.
/// The builder must keep track of the symbol because it may be refered to later.
/// The builder must keep track of the symbol because it may be referred to later.
fn build_run_low_level(
&mut self,
sym: &Symbol,