Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xsmith
WebAssembly Sandbox
Commits
088decd9
Commit
088decd9
authored
Dec 06, 2019
by
Guy Watson
Browse files
Add branch testing example
parent
2f05442b
Changes
1
Hide whitespace changes
Inline
Side-by-side
br.wat
View file @
088decd9
...
...
@@ -2,19 +2,9 @@
(import "env" "__memory_base" (global (;0;) i32))
(func (;0;) (result i32)
i32.const 0
if (result i32)
i32.const 1
else
i32.const 1
i32.const 2
i32.const 3
i32.const 4
i32.const 5
i32.const 6
br 0
i32.add
end
)
i32.const 7
br_if 0
)
(func (;1;)
global.get 0
global.set 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment