mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
fix typos
This commit is contained in:
parent
427f3e2b68
commit
6c0230ae4f
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ enum StackStorage<GeneralReg: RegTrait, FloatReg: RegTrait> {
|
||||||
reg: Option<RegStorage<GeneralReg, FloatReg>>,
|
reg: Option<RegStorage<GeneralReg, FloatReg>>,
|
||||||
},
|
},
|
||||||
/// Referenced Primitives are primitives within a complex structure.
|
/// Referenced Primitives are primitives within a complex structure.
|
||||||
/// They have no guarentees about alignment or zeroed bits.
|
/// They have no guarantees about alignment or zeroed bits.
|
||||||
/// When they are loaded, they should be aligned and zeroed.
|
/// When they are loaded, they should be aligned and zeroed.
|
||||||
/// After loading, they should just be stored in a register.
|
/// After loading, they should just be stored in a register.
|
||||||
ReferencedPrimitive {
|
ReferencedPrimitive {
|
||||||
|
|
|
@ -741,7 +741,7 @@ trait Backend<'a> {
|
||||||
/// scan_ast runs through the ast and fill the last seen map.
|
/// scan_ast runs through the ast and fill the last seen map.
|
||||||
/// This must iterate through the ast in the same way that build_stmt does. i.e. then before else.
|
/// This must iterate through the ast in the same way that build_stmt does. i.e. then before else.
|
||||||
fn scan_ast(&mut self, stmt: &Stmt<'a>) {
|
fn scan_ast(&mut self, stmt: &Stmt<'a>) {
|
||||||
// Join map keeps track of join point paramaters so that we can keep them around while they still might be jumped to.
|
// Join map keeps track of join point parameters so that we can keep them around while they still might be jumped to.
|
||||||
let mut join_map: MutMap<JoinPointId, &'a [Param<'a>]> = MutMap::default();
|
let mut join_map: MutMap<JoinPointId, &'a [Param<'a>]> = MutMap::default();
|
||||||
match stmt {
|
match stmt {
|
||||||
Stmt::Let(sym, expr, _, following) => {
|
Stmt::Let(sym, expr, _, following) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue