Fixed inlining_loops
This commit is contained in:
parent
e27a218746
commit
d4a52b6342
|
@ -1046,12 +1046,12 @@ main := fn(): uint {
|
||||||
```hb
|
```hb
|
||||||
x := 1
|
x := 1
|
||||||
|
|
||||||
foo := fn(): int {
|
foo := fn(): void {
|
||||||
loop if true break
|
loop if true break
|
||||||
x = 0
|
x = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
main := fn(): int {
|
main := fn(): uint {
|
||||||
@inline(foo)
|
@inline(foo)
|
||||||
return x
|
return x
|
||||||
}
|
}
|
||||||
|
|
|
@ -4412,6 +4412,7 @@ mod tests {
|
||||||
writing_into_string;
|
writing_into_string;
|
||||||
request_page;
|
request_page;
|
||||||
tests_ptr_to_ptr_copy;
|
tests_ptr_to_ptr_copy;
|
||||||
|
inlining_loops;
|
||||||
null_check_test;
|
null_check_test;
|
||||||
|
|
||||||
// Just Testing Optimizations;
|
// Just Testing Optimizations;
|
||||||
|
|
0
lang/tests/son_tests_inlining_loops.txt
Normal file
0
lang/tests/son_tests_inlining_loops.txt
Normal file
Loading…
Reference in a new issue