You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assertexpect_only_wasm== ('-emscripten-only-wasm'inerrand'--wasm-only'inerr), err# check both flag to fastcomp and to asm2wasm
6615
-
wast=open('a.out.wast').read()
6616
-
i64s=wast.count('(i64.')
6617
-
print' seen i64s:', i64s
6618
-
assertexpect_only_wasm== (i64s>30), 'i64 opts can be emitted in only-wasm mode, but not normally'# note we emit a few i64s even without wasm-only, when we replace udivmoddi (around 15 such)
6610
+
foroptionin ['BINARYEN', 'WASM']: # the two should be identical
assertexpect_only_wasm== ('-emscripten-only-wasm'inerrand'--wasm-only'inerr), err# check both flag to fastcomp and to asm2wasm
6618
+
wast=open('a.out.wast').read()
6619
+
i64s=wast.count('(i64.')
6620
+
print' seen i64s:', i64s
6621
+
assertexpect_only_wasm== (i64s>30), 'i64 opts can be emitted in only-wasm mode, but not normally'# note we emit a few i64s even without wasm-only, when we replace udivmoddi (around 15 such)
0 commit comments