Skip to content

Commit 61d22a6

Browse files
committed
stack-switching: reduce visibility of a couple func_environ methods
1 parent 1f4c3de commit 61d22a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/cranelift/src/func_environ.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@ pub struct FuncEnvironment<'module_environment> {
176176
/// Used by the stack switching feature. If set, we have a allocated a
177177
/// slot on this function's stack to be used for the
178178
/// current stack's `handler_list` field.
179-
pub(crate) stack_switching_handler_list_buffer: Option<ir::StackSlot>,
179+
stack_switching_handler_list_buffer: Option<ir::StackSlot>,
180180

181181
/// Used by the stack switching feature. If set, we have a allocated a
182182
/// slot on this function's stack to be used for the
183183
/// current continuation's `values` field.
184-
pub stack_switching_values_buffer: Option<ir::StackSlot>,
184+
stack_switching_values_buffer: Option<ir::StackSlot>,
185185
}
186186

187187
impl<'module_environment> FuncEnvironment<'module_environment> {

0 commit comments

Comments
 (0)