diff options
author | 2015-12-23 10:06:09 +0000 | |
---|---|---|
committer | 2015-12-23 10:06:09 +0000 | |
commit | e74927c0cded59b6687020c6480205d4488a69fc (patch) | |
tree | 8aba8db7a6d0b945be60394ab8f10241c7f15926 /compiler/optimizing/nodes.cc | |
parent | b592885f0b03c6518ccc9df4962c112cc2089131 (diff) | |
parent | 5f7b58ea1adfc0639dd605b65f59198d3763f801 (diff) |
Merge "Rewrite HInstruction::Is/As<type>()."
Diffstat (limited to 'compiler/optimizing/nodes.cc')
-rw-r--r-- | compiler/optimizing/nodes.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc index 926bc156cf..a37298c76e 100644 --- a/compiler/optimizing/nodes.cc +++ b/compiler/optimizing/nodes.cc @@ -777,6 +777,10 @@ void HEnvironment::RemoveAsUserOfInput(size_t index) const { user_record.GetInstruction()->RemoveEnvironmentUser(user_record.GetUseNode()); } +HInstruction::InstructionKind HInstruction::GetKind() const { + return GetKindInternal(); +} + HInstruction* HInstruction::GetNextDisregardingMoves() const { HInstruction* next = GetNext(); while (next != nullptr && next->IsParallelMove()) { @@ -960,7 +964,7 @@ void H##name::Accept(HGraphVisitor* visitor) { \ visitor->Visit##name(this); \ } -FOR_EACH_INSTRUCTION(DEFINE_ACCEPT) +FOR_EACH_CONCRETE_INSTRUCTION(DEFINE_ACCEPT) #undef DEFINE_ACCEPT |