summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest/UnitTestMain/TestMain.cpp
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2017-01-10 21:59:53 +0000
committerDerek Schuff <dschuff@google.com>2017-01-10 21:59:53 +0000
commit7acb42a41a7ed67f19553cd3617aacbca832a458 (patch)
treeb02bf06e5c7dd5ed440686684cf1cbbf55f65404 /llvm/utils/unittest/UnitTestMain/TestMain.cpp
parent9f0f8b82f7817faa79071e4031a55984bfaa71a7 (diff)
downloadbcm5719-llvm-7acb42a41a7ed67f19553cd3617aacbca832a458.tar.gz
bcm5719-llvm-7acb42a41a7ed67f19553cd3617aacbca832a458.zip
[WebAssembly] Only RAUW a constant once in FixFunctionBitcasts
When we collect 2 uses of a function in FindUses and then RAUW when we visit the first, we end up visiting the wrapper (because the second was RAUW'd). We still want to use RAUW instead of just Use->set() because it has special handling for Constants, so this patch just ensures that only one use of each constant is added to the work list. Differential Revision: https://reviews.llvm.org/D28504 llvm-svn: 291603
Diffstat (limited to 'llvm/utils/unittest/UnitTestMain/TestMain.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud