Add an optional Cranelift-based AOT compiler for WebAssembly functions, enabled via -DENABLE_CRANELIFT_JIT=ON.
15 lines
310 B
C++
15 lines
310 B
C++
/*
|
|
* Copyright (c) 2026-present, Ali Mohammad Pur <ali@ladybird.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibWasm/Types.h>
|
|
|
|
namespace Wasm {
|
|
|
|
bool try_cranelift_compile(CompiledInstructions&, u32) { return false; }
|
|
void flush_cranelift_batch() { }
|
|
void free_cranelift_code(void*) { }
|
|
|
|
}
|