diff options
Diffstat (limited to 'src/wasm-interpreter.h')
-rw-r--r-- | src/wasm-interpreter.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h index 3db818787..76c3f66ba 100644 --- a/src/wasm-interpreter.h +++ b/src/wasm-interpreter.h @@ -49,8 +49,7 @@ int32_t safe_ctz(int32_t v) { return _BitScanForward(&result,v) ? result : 32; } -int32_t platform_popcount(int32_t v) -{ +int32_t platform_popcount(int32_t v) { return __popcnt(v); } #else @@ -64,8 +63,7 @@ int32_t safe_ctz(int32_t v) { return __builtin_ctz(v); } -int32_t platform_popcount(int32_t v) -{ +int32_t platform_popcount(int32_t v) { return __buildin_popcount(v); } #endif |