diff options
author | Tim Shen <timshen91@gmail.com> | 2016-08-22 21:59:26 +0000 |
---|---|---|
committer | Tim Shen <timshen91@gmail.com> | 2016-08-22 21:59:26 +0000 |
commit | 608ca2504ac1865227e892dee2af4bd64870dc31 (patch) | |
tree | 7e344a20e634149102bc18d3003fbd65853da2d4 /lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands/plugin.cpp | |
parent | 25f02cfc52c7adfa76a45bc6a8063a675a5e6c5d (diff) | |
download | bcm5719-llvm-608ca2504ac1865227e892dee2af4bd64870dc31.tar.gz bcm5719-llvm-608ca2504ac1865227e892dee2af4bd64870dc31.zip |
[ADT] Actually mutate the iterator VisitStack.back().second, not its copy.
Summary: Before the change, *Opt never actually gets updated by the end
of toNext(), so for every next time the loop has to start over from
child_begin(). This bug doesn't affect the correctness, since Visited prevents
it from re-entering the same node again; but it's slow.
Reviewers: dberris, dblaikie, dannyb
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D23649
llvm-svn: 279482
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands/plugin.cpp')
0 files changed, 0 insertions, 0 deletions