fix arg passing to getcwd syscall

This commit is contained in:
Mark McCaskey
2019-03-26 14:37:47 -07:00
parent ad897b2076
commit 49db149224
3 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,8 @@
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)
high.swap_bytes()
}