diff options
author | JF Bastien <jfb@chromium.org> | 2013-10-22 10:16:49 -0700 |
---|---|---|
committer | JF Bastien <jfb@chromium.org> | 2013-10-22 10:16:49 -0700 |
commit | 7287c45c13dc887cebe3db6abfa2f1080186bb97 (patch) | |
tree | d069a03bd84ecbebe825851feec883d38844bac3 /tools | |
parent | 7c801d10ad719a7e0b875943b18504d7575524d9 (diff) |
Make sure flatten globals doesn't insert uses of globals that previously had no uses.
This was the deeper cause of the issues I fixed in https://codereview.chromium.org/33233002/ and is therefore a better fix. (The problem was that StripDeadPrototypes was not stripping a variable that was actually dead because the bitcast constexpr inserted by FlattenGlobals referred to it.) I reverted most of that CL's changes, though not the comment and test cleanup.
R=dschuff@chromium.org
TEST= pnacl-clang++ pnacl/git/libcxx/test/input.output/iostream.objects/narrow.stream.objects/clog.pass.cpp -stdlib=libc++
Review URL: https://codereview.chromium.org/34843003
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions