Memoize Node::EvaluateExpression()
Memoize Node::EvaluateExpression()

Part of goal to speed up gyp.

This function was identified as hot in cProfile. On Z600
with GYP_PARALLEL=1, this reduces gyp_chromium time by 1.2s.

BUG=chromium:82230

TBR=ilevy@chromium.org
Landing for ilevy@chromium.org, patch from issue 12317089.

Review URL: https://codereview.chromium.org/12326099

git-svn-id: 50c90c531a9fd8f38831f054b7ea6b96f50d91dc@112 7262f16d-afe8-6277-6482-052fa10e57b1

geekboxzone/lollipop_external_chromium_org_tools_grit,android-ia/platform_external_chromium_org_tools_grit,bpsinc-native/src_tools_grit,Omegaphora/external_chromium_org_tools_grit,yinquan529/platform-external-chromium_org-tools-grit,geekboxzone/lollipop_external_chromium_org_tools_grit,AOSPU/external_chromium_org_tools_grit,Omegaphora/external_chromium_org_tools_grit,bpsinc-native/src_tools_grit,xin3liang/platform_external_chromium_org_tools_grit,IllusionRom-deprecated/android_platform_external_chromium_org_tools_grit,MIPS/external-chromium_org-tools-grit,android-ia/platform_external_chromium_org_tools_grit,yinquan529/platform-external-chromium_org-tools-grit