Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SI-4859 Retain MODULE_LOAD in dead code elim. | Jason Zaugg | 2013-01-26 | 1 | -1/+1 |
| | | | | | | Without this, the following test fails: SCALAC_OPTS="-optimize" ./test/partest test/files/run/t4859.scala | ||||
* | SI-4859 Don't elide qualifiers when selecting nested modules. | Jason Zaugg | 2013-01-26 | 1 | -0/+29 |
Otherwise we fail to throw in: {???; Predef}.DummyImplicit.dummyImplicit We still elide the initialization of `Outer` in `Outer.Inner.foo` as before, although that seems a little dubious to me. In total, we had to change RefChecks, Flatten, and GenICode to effect this change. A recently fixed bug in tail call elimination was also due to assuming that the the qualifier of a Select node wasn't worthy of traversal. Let's keep a close eye out for more instances of this problem. |