[fine] Compile iteratively instead of recursively
This commit is contained in:
parent
7fb88ef199
commit
01798236ec
6 changed files with 68 additions and 52 deletions
|
|
@ -4,6 +4,11 @@ fun test() -> bool {
|
|||
|
||||
// @no-errors
|
||||
// @compiles-to:
|
||||
// | function << module >> (0 args, 0 locals):
|
||||
// | strings (0):
|
||||
// | code (2):
|
||||
// | 0: PushNothing
|
||||
// | 1: Return
|
||||
// | function test (0 args, 0 locals):
|
||||
// | strings (0):
|
||||
// | code (15):
|
||||
|
|
@ -22,11 +27,6 @@ fun test() -> bool {
|
|||
// | 12: PushTrue
|
||||
// | 13: BoolNot
|
||||
// | 14: Return
|
||||
// | function << module >> (0 args, 0 locals):
|
||||
// | strings (0):
|
||||
// | code (2):
|
||||
// | 0: PushNothing
|
||||
// | 1: Return
|
||||
// |
|
||||
// @eval: Bool(false)
|
||||
// @type: 15 bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue