Bug 1098049: Eliminate constant expressions. r=bnicholson