From 09b44f5d25911b40e6c91fe160a89009ba6ddfe1 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Tue, 14 Jan 2020 17:11:06 +0100 Subject: Reduce visibility --- src/optimize/code_layout.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/optimize/code_layout.rs') diff --git a/src/optimize/code_layout.rs b/src/optimize/code_layout.rs index 947b61d42e0..4d2301c6f6c 100644 --- a/src/optimize/code_layout.rs +++ b/src/optimize/code_layout.rs @@ -10,7 +10,7 @@ use crate::prelude::*; -pub fn optimize_function(ctx: &mut Context, cold_ebbs: &EntitySet) { +pub(super) fn optimize_function(ctx: &mut Context, cold_ebbs: &EntitySet) { // FIXME Move the ebb in place instead of remove and append once // bytecodealliance/cranelift#1339 is implemented. -- cgit 1.4.1-3-g733a5