From dbb9aef046301940d0b253c918a5c78b277330ba Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Thu, 23 Nov 2017 10:44:11 +0000 Subject: Log at places we fail to compile. Useful when diagnosing some compiler issues / limitations. Test: test.py Change-Id: I8759d0e78b0682b300ddcadfe02793432cab2036 --- compiler/optimizing/nodes.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/optimizing/nodes.cc') diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc index fa580d9bed..ff4e9aa510 100644 --- a/compiler/optimizing/nodes.cc +++ b/compiler/optimizing/nodes.cc @@ -507,6 +507,7 @@ GraphAnalysisResult HGraph::AnalyzeLoops() const { if (block->IsCatchBlock()) { // TODO: Dealing with exceptional back edges could be tricky because // they only approximate the real control flow. Bail out for now. + VLOG(compiler) << "Not compiled: Exceptional back edges"; return kAnalysisFailThrowCatchLoop; } block->GetLoopInformation()->Populate(); -- cgit v1.2.3-59-g8ed1b