diff options
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r-- | compiler/optimizing/nodes.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 21dd576d16..cfbb5c8010 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -598,11 +598,6 @@ class HGraph : public ArenaObject<kArenaAllocGraph> { void SetProfilingInfo(ProfilingInfo* info) { profiling_info_ = info; } ProfilingInfo* GetProfilingInfo() const { return profiling_info_; } - HCondition* CreateCondition(IfCondition cond, - HInstruction* lhs, - HInstruction* rhs, - uint32_t dex_pc = kNoDexPc); - ReferenceTypeInfo GetInexactObjectRti() { return ReferenceTypeInfo::Create(handle_cache_.GetObjectClassHandle(), /* is_exact= */ false); } @@ -3930,6 +3925,12 @@ class HCondition : public HBinaryOperation { SetPackedField<ComparisonBiasField>(ComparisonBias::kNoBias); } + static HCondition* Create(HGraph* graph, + IfCondition cond, + HInstruction* lhs, + HInstruction* rhs, + uint32_t dex_pc = kNoDexPc); + // For code generation purposes, returns whether this instruction is just before // `instruction`, and disregard moves in between. bool IsBeforeWhenDisregardMoves(HInstruction* instruction) const; |