mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-16 09:25:03 +01:00
inline assembly :3
This commit is contained in:
parent
3ab116d7f0
commit
ba5d41674c
17 changed files with 448 additions and 45 deletions
10
ui-tests/asm/drop.nil
Normal file
10
ui-tests/asm/drop.nil
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//@check-pass
|
||||
|
||||
function dropping(a: I32) =
|
||||
___asm(
|
||||
__locals(),
|
||||
"local.get 0",
|
||||
"drop",
|
||||
);
|
||||
|
||||
function main() = ;
|
||||
Loading…
Add table
Add a link
Reference in a new issue