Make cranelift-interpreter non-generic over value (#6178)
* Make cranelift-interpreter non-generic over value Fixes #5793 * Review suggestion Co-authored-by: Jamey Sharp <jamey@minilop.net> * Fix fuzz target * Update doc comments --------- Co-authored-by: Jamey Sharp <jamey@minilop.net>
This commit is contained in:
@@ -298,7 +298,7 @@ fn build_interpreter(testcase: &TestCase) -> Interpreter {
|
||||
|
||||
let state = InterpreterState::default()
|
||||
.with_function_store(env)
|
||||
.with_libcall_handler(|libcall: LibCall, args: LibCallValues<DataValue>| {
|
||||
.with_libcall_handler(|libcall: LibCall, args: LibCallValues| {
|
||||
use LibCall::*;
|
||||
Ok(smallvec![match (libcall, &args[..]) {
|
||||
(CeilF32, [DataValue::F32(a)]) => DataValue::F32(a.ceil()),
|
||||
|
||||
Reference in New Issue
Block a user