diff --git a/cranelift/codegen/src/lib.rs b/cranelift/codegen/src/lib.rs
index 475014e0f550..71227bc1a6cd 100644
--- a/cranelift/codegen/src/lib.rs
+++ b/cranelift/codegen/src/lib.rs
@@ -97,9 +97,9 @@ pub mod incremental_cache;
#[macro_export]
macro_rules! trace {
($($tt:tt)*) => {
- if cfg!(feature = "trace-log") {
+ // if cfg!(feature = "trace-log") {
::log::trace!($($tt)*);
- }
+ // }
};
}
diff --git a/crates/cranelift/src/func_environ.rs b/crates/cranelift/src/func_environ.rs
index e1fcb8c4fbfd..0127d4489f97 100644
--- a/crates/cranelift/src/func_environ.rs
+++ b/crates/cranelift/src/func_environ.rs
@@ -17,7 +17,7 @@ use cranelift_frontend::FunctionBuilder;
use cranelift_frontend::Variable;
use smallvec::SmallVec;
use std::mem;
-use wasmparser::Operator;
+use wasmparser::{Operator, WasmFeatures};
use wasmtime_environ::{
BuiltinFunctionIndex, DataIndex, ElemIndex, EngineOrModuleTypeIndex, FuncIndex, GlobalIndex,
IndexType, Memory, MemoryIndex, MemoryPlan, MemoryStyle, Module, ModuleInternedTypeIndex,
@@ -1294,6 +1294,7 @@ impl<'a, 'func, 'module_env> Call<'a, 'func, 'module_env> {
/// Do an indirect call through the given funcref table.
pub fn indirect_call(
mut self,
+ features: &WasmFeatures,
table_index: TableIndex,
ty_index: TypeIndex,
sig_ref: ir::SigRef,
@@ -1301,6 +1302,7 @@ impl<'a, 'func, 'module_env> Call<'a, 'func, 'module_env> {
call_args: &[ir::Value],
) -> WasmResult