summaryrefslogtreecommitdiff
path: root/src/wasm-interpreter.h
diff options
context:
space:
mode:
authorAndrew Scheidecker <andrew@scheidecker.net>2015-12-23 10:17:50 -0800
committerAndrew Scheidecker <andrew@scheidecker.net>2015-12-23 10:17:50 -0800
commit65f8f24c7bb1da884eb74d5fd742fcf35526483c (patch)
tree1d556ae55708a4e7253a683a6bb980932b4e8065 /src/wasm-interpreter.h
parent32490684ab0fa568d4e539c24f7c560295da57de (diff)
downloadbinaryen-65f8f24c7bb1da884eb74d5fd742fcf35526483c.tar.gz
binaryen-65f8f24c7bb1da884eb74d5fd742fcf35526483c.tar.bz2
binaryen-65f8f24c7bb1da884eb74d5fd742fcf35526483c.zip
Implement feedback
Diffstat (limited to 'src/wasm-interpreter.h')
-rw-r--r--src/wasm-interpreter.h6
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