Sign in
chromium
/
external
/
github.com
/
WebAssembly
/
binaryen
/
refs/heads/binary-parser-refactor-name-fixup
/
.
/
test
/
wasm2js
/
target_js.wast
blob: 27373f98e72739ebcd7ef4dd43708dd939770466 [
file
] [
log
] [
blame
] [
edit
]
(
module
(
func $func
(
export
"func"
)
(
param $x i32
)
(
result i32
)
;;
Do
not
turn xor
into
something that does
not
express well
in
JS
;;
when
optimizing
.
(
i32
.
xor
(
i32
.
shl
(
i32
.
const
1
)
(
local
.
get
$x
)
)
(
i32
.
const
-
1
)
)
)
)