Commit ac51dbd
committed
Fix duplicate ID definitions when module has multiple functions
Synthesized intermediate instructions were being inserted into every
function in the module, causing "id X is defined more than once" errors
when modules had multiple functions. Now only insert into the first
function where optimizable expressions typically reside.1 parent 453e1f8 commit ac51dbd
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
1323 | | - | |
1324 | | - | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
1325 | 1328 | | |
1326 | | - | |
| 1329 | + | |
1327 | 1330 | | |
1328 | 1331 | | |
1329 | 1332 | | |
| |||
0 commit comments