summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2016-04-22 16:57:00 +0100
committerDavid Brazdil <dbrazdil@google.com>2016-04-22 16:57:00 +0100
commitc120bbe26fe116d3c9d8322f44bb9e330e07f745 (patch)
tree63e503da272d0be6d6dc243c29d4e7b184705710 /compiler/optimizing/graph_visualizer.cc
parent121c8a6494f2224830ed0ca33df5af0d8c077647 (diff)
ART: Naive NullCheck elimination in InstructionBuilder
Save a little bit of memory by not generating trivially redundant HNullCheck instructions. This patch builds on the fact that the InstructionBuilder now directly generates SSA form and looks at the input of the NullCheck. For obvious cases, such as NewInstance/Array or `this`, the NullCheck generation is completely avoided. Bug: 28173563 Change-Id: I1fdf3b096c7a939f7b8586c02a2a6b44dfa43443
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions