diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2020-01-14 17:11:06 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2020-01-14 17:11:06 +0100 |
| commit | 09b44f5d25911b40e6c91fe160a89009ba6ddfe1 (patch) | |
| tree | 10f8bb8eb38ab5b13e6234c12522a724e470cb47 /src/optimize | |
| parent | 29fafb44b1de93c4f5000064ab06bd756b8499f9 (diff) | |
| download | rust-09b44f5d25911b40e6c91fe160a89009ba6ddfe1.tar.gz rust-09b44f5d25911b40e6c91fe160a89009ba6ddfe1.zip | |
Reduce visibility
Diffstat (limited to 'src/optimize')
| -rw-r--r-- | src/optimize/code_layout.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<Ebb>) { +pub(super) fn optimize_function(ctx: &mut Context, cold_ebbs: &EntitySet<Ebb>) { // FIXME Move the ebb in place instead of remove and append once // bytecodealliance/cranelift#1339 is implemented. |
