summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-02-15 21:38:42 +0000
committerMatthias Braun <matze@braunis.de>2016-02-15 21:38:42 +0000
commitacd531c9535f0dcfb63082da64ff965253e67396 (patch)
tree7589add88c252e37c8490dc5dfdea1fbbd4fa76e /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
parent4e89611168993a2c4eac7f1f0f50c700c348a9e5 (diff)
downloadbcm5719-llvm-acd531c9535f0dcfb63082da64ff965253e67396.tar.gz
bcm5719-llvm-acd531c9535f0dcfb63082da64ff965253e67396.zip
SmallPtrSet: Avoid initializing Array in the small case.
This patch avoids the initial memset at the cost of making iterators slightly more complex. This should be beneficial as most SmallPtrSets hold no or only a few elements, while iterating over them is less common. Differential Revision: http://reviews.llvm.org/D16672 llvm-svn: 260913
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud