Commit b106c77
authored
fix(compiler): optimize two if-else wasm patterns (VirusTotal#565)
Following VirusTotal#563, two more patterns that can be optimized. Still very simple low hanging fruit stuff, I'm not sure if I manage to do something more impactful -- I begun looking into reducing catch undefs, but it got a bit out of hand and I don't know if it will lead to something good enough.1 parent cbb3c3b commit b106c77
1 file changed
Lines changed: 16 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2248 | 2248 | | |
2249 | 2249 | | |
2250 | 2250 | | |
2251 | | - | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
2252 | 2261 | | |
2253 | | - | |
2254 | | - | |
2255 | | - | |
2256 | | - | |
2257 | | - | |
2258 | | - | |
2259 | | - | |
2260 | | - | |
2261 | | - | |
2262 | | - | |
2263 | | - | |
2264 | | - | |
2265 | | - | |
2266 | | - | |
2267 | | - | |
2268 | | - | |
2269 | | - | |
2270 | | - | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
2271 | 2265 | | |
2272 | 2266 | | |
2273 | 2267 | | |
| |||
2283 | 2277 | | |
2284 | 2278 | | |
2285 | 2279 | | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
2286 | 2283 | | |
2287 | 2284 | | |
2288 | | - | |
2289 | | - | |
2290 | | - | |
2291 | | - | |
2292 | | - | |
2293 | | - | |
2294 | | - | |
2295 | | - | |
2296 | | - | |
2297 | | - | |
2298 | | - | |
2299 | 2285 | | |
2300 | 2286 | | |
2301 | 2287 | | |
| |||
0 commit comments