summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2014-04-11 16:32:51 +0100
committerVladimir Marko <vmarko@google.com>2014-04-14 18:03:41 +0100
commitd3c5bebcb52a67cb06e7ab303eaf45f230c08b60 (patch)
tree85df477ba745b1e2c85ab1d167b0297236060f2f /compiler/optimizing/graph_visualizer.cc
parent043a7a6182870964021476484b1534106ff20600 (diff)
Avoid allocating OatFile::OatClass on the heap.
Avoid allocating a BitVector for OatFile::OatClass::bitmap_ with kOatClassSomeCompiled methods. That makes the OatClass copy-constructible as it doesn't own any memory. We use that in OatFile::OatDexFile::GetOatClass() to return the result by value thus avoiding one or two heap allocations per call. Change-Id: Ic7098109028a5b49e39ef626f877de86e732ed18
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions