Skip to content

Commit 353ef60

Browse files
committed
Fix
1 parent 12890e4 commit 353ef60

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

c/blake3_dispatch.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ void blake3_compress_in_place(uint32_t cv[8],
194194

195195
#if defined(__wasm_simd128__)
196196
blake3_compress_in_place_wasm32_simd(cv, block, block_len, counter, flags);
197+
return;
197198
#endif
198199

199200
blake3_compress_in_place_portable(cv, block, block_len, counter, flags);
@@ -228,6 +229,7 @@ void blake3_compress_xof(const uint32_t cv[8],
228229

229230
#if defined(__wasm_simd128__)
230231
blake3_compress_xof_wasm32_simd(cv, block, block_len, counter, flags, out);
232+
return;
231233
#endif
232234

233235
blake3_compress_xof_portable(cv, block, block_len, counter, flags, out);
@@ -308,6 +310,7 @@ void blake3_hash_many(const uint8_t *const *inputs, size_t num_inputs,
308310
blake3_hash_many_wasm32_simd(inputs, num_inputs, blocks, key, counter,
309311
increment_counter, flags, flags_start, flags_end,
310312
out);
313+
return;
311314
#endif
312315

313316
blake3_hash_many_portable(inputs, num_inputs, blocks, key, counter,

0 commit comments

Comments
 (0)