summaryrefslogtreecommitdiff
path: root/compiler/optimizing/builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r--compiler/optimizing/builder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h
index a59e78285f..2964ad5c9b 100644
--- a/compiler/optimizing/builder.h
+++ b/compiler/optimizing/builder.h
@@ -56,7 +56,8 @@ class HGraphBuilder : public ValueObject {
// When inlining, we sometimes want to add an extra Goto block before the Exit block. This is done
// in the building phase as we do not allow the inlining phase to add new instructions.
- void MaybeAddExtraGotoBlocks();
+ // Returns false if the graph we are adding the extra block has irreducible loops.
+ bool MaybeAddExtraGotoBlocks();
HGraph* const graph_;
const DexFile* const dex_file_;