emit LLVM IR that can be compiled to wasm

This commit is contained in:
Folkert 2021-08-24 20:56:13 +02:00
parent 5a7a9e9520
commit 0a7f7a2772
9 changed files with 33 additions and 25 deletions

View file

@ -133,7 +133,7 @@ fn hash_builtin<'a, 'ctx, 'env>(
// let zig deal with big vs small string
call_bitcode_fn(
env,
&[seed.into(), build_str::str_to_i128(env, val).into()],
&[seed.into(), build_str::str_to_c_abi(env, val).into()],
bitcode::DICT_HASH_STR,
)
.into_int_value()