commit | 20070e84c21b9aa15a83e53b5d2ffa692c4e081a | [log] [tgz] |
---|---|---|
author | Karl Schimpf <kschimpf@google.com> | Thu Mar 17 13:30:13 2016 -0700 |
committer | Karl Schimpf <kschimpf@google.com> | Thu Mar 17 13:30:13 2016 -0700 |
tree | d9c4595a2457f0523c26120c0f04659d52200ab3 | |
parent | 70e3f1cd240b4ca321545745abbce0cd5a0ca718 [diff] |
Cache common constants before lowering. This code moves some constants used by the target lowering, so that they are defined (and cached) during static initialization of the target lowering, rather than looking up everytime they are used. This CL does this for the constant zero, and predefined helper functions. BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=4076 R=jpp@chromium.org, stichnot@chromium.org Review URL: https://codereview.chromium.org/1775253003 .