Skip to content

Commit 8ee7a6a

Browse files
authored
Update instructions.rs (#11760)
1 parent 7380932 commit 8ee7a6a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/cranelift/src/func_environ/stack_switching/instructions.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ pub(crate) mod stack_switching_helpers {
443443
}
444444

445445
impl VMStackChain {
446-
/// Creates a `Self` corressponding to `VMStackChain::Continuation(contref)`.
446+
/// Creates a `Self` corresponding to `VMStackChain::Continuation(contref)`.
447447
pub fn from_continuation<'a>(
448448
env: &mut crate::func_environ::FuncEnvironment<'a>,
449449
builder: &mut FunctionBuilder,
@@ -463,7 +463,7 @@ pub(crate) mod stack_switching_helpers {
463463
}
464464
}
465465

466-
/// Creates a `Self` corressponding to `VMStackChain::Absent`.
466+
/// Creates a `Self` corresponding to `VMStackChain::Absent`.
467467
pub fn absent<'a>(
468468
env: &mut crate::func_environ::FuncEnvironment<'a>,
469469
builder: &mut FunctionBuilder,
@@ -957,7 +957,7 @@ pub fn vmctx_load_stack_chain<'a>(
957957
}
958958

959959
/// Stores the given stack chain saved in the `VMContext`, overwriting the
960-
/// exsiting one.
960+
/// existing one.
961961
pub fn vmctx_store_stack_chain<'a>(
962962
env: &mut crate::func_environ::FuncEnvironment<'a>,
963963
builder: &mut FunctionBuilder,
@@ -1397,7 +1397,7 @@ pub(crate) fn translate_resume<'a>(
13971397
.map(|tag_index| tag_address(env, builder, tag_index))
13981398
.collect();
13991399

1400-
// Store all tag addresess in the handler list.
1400+
// Store all tag addresses in the handler list.
14011401
handler_list.store_data_entries(env, builder, &all_tag_addresses);
14021402

14031403
// To enable distinguishing switch and suspend handlers when searching the handler list:

0 commit comments

Comments
 (0)