Bug 497875 - Avoid evaluating isConstantExpression multiple times

Change-Id: I54d6b533f5b21294a92319ea1d45d4f18962a460
9 files changed