commit | 27c56bf650197a019aede197c136a0fd9bb7692c | [log] [tgz] |
---|---|---|
author | Jim Stichnoth <stichnot@chromium.org> | Mon Mar 23 10:29:58 2015 -0700 |
committer | Jim Stichnoth <stichnot@chromium.org> | Mon Mar 23 10:29:58 2015 -0700 |
tree | d874ff5135eb785d75b16e949d6fdab86f73b83c | |
parent | 1f47ad02c2db6427f53438f764c1299fe55dfcbd [diff] |
Subzero: Fix inappropriate use of nullptr. When lowering of a couple of atomic intrinsics down to a loop structure, a FakeUse on the memory address's base variable is created. However, if the memory address is a global constant, there is no base variable. So check for that and don't create a FakeUse if there is none. BUG= none TEST=synchronization_sync (scons test) R=jvoung@chromium.org Review URL: https://codereview.chromium.org/1023673007