OSDN Git Service

ART: Bail out immediately on try/catch
authorDavid Brazdil <dbrazdil@google.com>
Fri, 26 Jun 2015 15:58:14 +0000 (16:58 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Fri, 26 Jun 2015 15:58:14 +0000 (16:58 +0100)
commit1ff04abecc7318826248c24850c1116df5b68b33
treefb2130a79f1dec76bf0c7de0b7fd51287811d872
parent5597b422882a5ab9dc5eaaedd644e30bc2fd7c05
ART: Bail out immediately on try/catch

Optimizing builds the graph even if it knows it will delegate to
Quick. This patch moves the decision at the beginning of the
TryCompile function to save a little bit of compile time.

Bug: 22115561
Change-Id: I18b5a686e10592080ea3c49d53a0dd81aa3b3010
compiler/optimizing/optimizing_compiler.cc