move-stackless-bytecode 0.3.2

Move stackless bytecode
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module 0x42::ReachingDefTest {

    struct R has key {
        x: u64,
        y: bool
    }

	fun basic(a: u64, b: u64): u64 {
	    let x = (a + b) / a;
	    x + 1
	}

    fun create_resource(sender: &signer) {
        let r = R{ x: 1, y: false};
        move_to<R>(sender, r);
    }
}