# wasm: \`wrapOperand\` \- leave value on the stack · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/cde16f61eb41f2beda85e838331a30869e420c68)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: cde16f61eb41f2beda85e838331a30869e420c68

Requested commit: cde16f61eb41f2beda85e838331a30869e420c68

Commit: cde16f61eb41f2beda85e838331a30869e420c68

Tree: 8fcc59582608f43a55e362bcd5bb9167d8bf4226

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: `wrapOperand` - leave value on the stack

This also does it for `wrapBinOp` which internally uses the already
refactored `binOp` and `wrapOperand` heavily simplifying this
function and not duplicate the logic from `binOp`

```

## Parents

- [699bc6171dcc18d681de754ca2eeb63645aea889](https://git.cafe/gitcafe/zig/commit/699bc6171dcc18d681de754ca2eeb63645aea889?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/cde16f61eb41f2beda85e838331a30869e420c68?format=markdown)
