mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-25 14:41:32 +00:00
get PHP kind of working...
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
use crate::emscripten_target;
|
||||
use wasmer_runtime_core::vm::Ctx;
|
||||
|
||||
///emscripten: _llvm_bswap_i64
|
||||
pub fn _llvm_bswap_i64(_ctx: &mut Ctx, _low: i32, high: i32) -> i32 {
|
||||
debug!("emscripten::_llvm_bswap_i64");
|
||||
// setTempRet0(low.swap_bytes)
|
||||
emscripten_target::setTempRet0(_ctx, _low.swap_bytes());
|
||||
high.swap_bytes()
|
||||
}
|
||||
|
Reference in New Issue
Block a user