diff options
author | 2015-08-19 19:02:45 +0000 | |
---|---|---|
committer | 2015-08-19 19:02:45 +0000 | |
commit | 83f8b5bb9e9c52791a02a84d7b0889cab898efe4 (patch) | |
tree | 59de59bcd9f166fd892df1887019c846abd539ba /compiler/optimizing/nodes.h | |
parent | 99429ae0610e8d67d417542942c4befb35950bd3 (diff) | |
parent | bbd733e4ef277eff19bf9a6601032da081e9b68f (diff) |
Merge "ART: Enable basic optimizations for try/catch"
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r-- | compiler/optimizing/nodes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 35bc928620..7e49199b69 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -351,6 +351,9 @@ class HGraph : public ArenaObject<kArenaAllocMisc> { return instruction_set_; } + // TODO: Remove once the full compilation pipeline is enabled for try/catch. + bool HasTryCatch() const; + private: void VisitBlockForDominatorTree(HBasicBlock* block, HBasicBlock* predecessor, @@ -4566,6 +4569,8 @@ class HLoadException : public HExpression<0> { public: HLoadException() : HExpression(Primitive::kPrimNot, SideEffects::None()) {} + bool CanBeNull() const OVERRIDE { return false; } + DECLARE_INSTRUCTION(LoadException); private: |