Commit 14c478a
committed
Skip default CMO when emitting module separately
Cross-module optimization is incompatible with emitting the module
separately. Previously, an assertion caught this condition, but the
assertion would not fire in release builds.
This changes the logic to simply skip enabling default CMO when
emitModuleSeparately is true, rather than asserting or erroring.1 parent 0764248 commit 14c478a
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| 299 | + | |
| 300 | + | |
299 | 301 | | |
300 | 302 | | |
301 | 303 | | |
302 | 304 | | |
303 | | - | |
304 | | - | |
| 305 | + | |
| 306 | + | |
305 | 307 | | |
306 | 308 | | |
307 | 309 | | |
| |||
0 commit comments