summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2016-02-29 16:53:33 +0000
committerDavid Brazdil <dbrazdil@google.com>2016-03-01 22:54:29 +0000
commit3f52306b259caed1c654c4b3fd5b594d5ec8d46c (patch)
tree8a94e537ee9c17ce8591e1775fb232ee1af09425 /compiler/optimizing/graph_visualizer.cc
parent757701fc80dfe35ff9677c858b3d85e946e1ae36 (diff)
ART: Fix overlapping instruction IDs in inliner
Inliner creates the inner graph so that it generates instruction IDs higher than the outer graph. This was broken because the inliner would create instructions in the outer graph before the inner graph is inlined. The bug cannot be triggered because the offending instruction would share the same ID as the first inner HLocal, which is removed before the inner graph is inlined. The added DCHECKs reveal the hidden problem and make it safe for HLocals to be removed in the future. Change-Id: I486eb0f3987e20c50cbec0fb06332229e07fbae9
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions