mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2026-04-18 18:18:44 +00:00
24 lines
220 B
C
24 lines
220 B
C
#include <stdint.h>
|
|
|
|
static int32_t
|
|
helper_loop(int32_t n)
|
|
{
|
|
while (n > 0) {
|
|
n = n - 1;
|
|
}
|
|
|
|
return n;
|
|
}
|
|
|
|
int32_t
|
|
install(int32_t n)
|
|
{
|
|
return helper_loop(n);
|
|
}
|
|
|
|
int32_t
|
|
noop(void)
|
|
{
|
|
return 9;
|
|
}
|