Disable the code_layout optimization

When compiling libcore, it causes ebb params to be dropped for a certain function
This commit is contained in:
bjorn3 2020-01-25 17:55:48 +01:00
parent 92d4356130
commit d821f154c5

View File

@ -11,6 +11,8 @@
use crate::prelude::*;
pub(super) fn optimize_function(ctx: &mut Context, cold_ebbs: &EntitySet<Ebb>) {
return; // FIXME add ebb arguments back
// FIXME Move the ebb in place instead of remove and append once
// bytecodealliance/cranelift#1339 is implemented.