aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-asm-pre-output.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test-js-optimizer-asm-pre-output.js')
-rw-r--r--tools/test-js-optimizer-asm-pre-output.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/test-js-optimizer-asm-pre-output.js b/tools/test-js-optimizer-asm-pre-output.js
index 53619c84..72608aa8 100644
--- a/tools/test-js-optimizer-asm-pre-output.js
+++ b/tools/test-js-optimizer-asm-pre-output.js
@@ -73,4 +73,24 @@ function retf() {
}
return +0;
}
+function i32_8() {
+ if ((HEAP8[$4 & 16777215] | 0) == 0) {
+ print(5);
+ }
+ if ((HEAP8[$5 & 16777215] | 0) == 0) {
+ print(5);
+ }
+ if ((HEAP8[$6 & 16777215] | 0) == 0) {
+ print(5);
+ }
+ if ((HEAP8[$7 & 16777215] | 0) == 0) {
+ print(5);
+ }
+ if (HEAPU8[$8 & 16777215] << 24 >> 16 == 0) {
+ print(5);
+ }
+ if (HEAPU8[$9 & 16777215] << 16 >> 16 == 0) {
+ print(5);
+ }
+}