Skip to content
Commit f6448959 authored by Matt Wala's avatar Matt Wala
Browse files

Introduce a YieldInst instruction that functions as a generator. Change the

lowering of ReturnState to use YieldInst and change ReturnInst to terminate the
method instead of returning data.

Also, this change gets rid of the unnecessary UnreachableInst instruction.

Bugs: #5, #23
parent eb720ba9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment