-
Notifications
You must be signed in to change notification settings - Fork 388
fix(ssa): Do not hoist unsafe array_get in Brillig
#9805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
1f54a51
364c566
37e86e3
4c45732
291a712
787adcf
0a28caa
427b7cb
73d06c3
e43efe0
9a9e46c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| [package] | ||
| name = "regression_9804" | ||
| type = "bin" | ||
| authors = [""] | ||
|
|
||
| [dependencies] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| a = 10 | ||
| b = false | ||
| return = 0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| fn main(a: u32, b: bool) -> pub Field { | ||
| let mut s = 0; | ||
| let c = [[1, 2]]; | ||
| for _ in 0..2 { | ||
| if b { | ||
| let d = c[a]; | ||
| let e = d[0]; | ||
| s += e; | ||
| } | ||
| } | ||
| s | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.