diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2015-03-11 15:11:19 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2015-03-12 17:55:01 +0000 |
commit | 915b9d0c13bb5091875d868fbfa551d7b65d7477 (patch) | |
tree | 63822d7081b0da33ccda2019dd52025f0ecedb35 /compiler/optimizing/nodes.h | |
parent | bf5565a75876a84c8c2401df597d922a7870a8f2 (diff) | |
download | art-915b9d0c13bb5091875d868fbfa551d7b65d7477.tar.gz art-915b9d0c13bb5091875d868fbfa551d7b65d7477.tar.bz2 art-915b9d0c13bb5091875d868fbfa551d7b65d7477.zip |
Tweak liveness when instructions are used in environments.
Instructions remain live when debuggable, but only instructions
with object types remain live when non-debuggable.
Enable StackVisitor::GetThisObject for optimizing.
Change-Id: Id87b2cbf33a02450059acc9993995782e5f28987
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r-- | compiler/optimizing/nodes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index d4498a6d4..55639d437 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -1104,6 +1104,7 @@ class HInstruction : public ArenaObject<kArenaAllocMisc> { bool HasUses() const { return !uses_.IsEmpty() || !env_uses_.IsEmpty(); } bool HasEnvironmentUses() const { return !env_uses_.IsEmpty(); } + bool HasNonEnvironmentUses() const { return !uses_.IsEmpty(); } // Does this instruction strictly dominate `other_instruction`? // Returns false if this instruction and `other_instruction` are the same. |