summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-09-02 17:29:51 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-09-02 17:29:51 +0000
commit14f7301392ee2094581cb1339cf3f064b6397696 (patch)
treea9fd9ca93fa9e6af2f052c46eb3d90f1b046e0bd /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parent1b0713ce09713a098cf3589941c26bf4c82974cf (diff)
downloadbcm5719-llvm-14f7301392ee2094581cb1339cf3f064b6397696.tar.gz
bcm5719-llvm-14f7301392ee2094581cb1339cf3f064b6397696.zip
Correct unique_ptr passing in MCObjectDisassembler::setFallbackRegion
Rather than passing by lvalue reference, pass by value to ensure that the caller provides an rvalue (and use move assignment, rather than release+reset, to assign to the member variable) llvm-svn: 216916
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud