summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-07-17 18:04:32 -0700
committerAndreas Gampe <agampe@google.com>2014-07-18 10:37:05 -0700
commit0d8ea4661c584fc095129f853d0d72b0fa09cda5 (patch)
tree6eb808e21a349f986cd9dbed5efef9fb21d3776a /compiler/optimizing/graph_visualizer.cc
parent031ddea20cb311dfdb3bd16a13750f9cb426b299 (diff)
ART: Do not attempt to compile a method with too many registers
The mir_graph has a hard limit on how many ssa registers it can handle, and will silently fail or fatal out in debug builds when more SSA registers are necessary. This adds a check in the frontend that tries to catch some of these cases, and makes the DCHECK a CHECK to not silently fail. Bug: 16018097 Change-Id: Iad82178945a8f8c34943cc7573fd73d2b4decade
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions