diff options
| author | 2016-03-16 10:12:39 +0000 | |
|---|---|---|
| committer | 2016-03-16 10:12:39 +0000 | |
| commit | 3e906819c33d19c9586ecd9441f0ffb8433f2bad (patch) | |
| tree | 77b91c120c37cb149fa4740b6f677194c2706605 /compiler/optimizing/nodes.h | |
| parent | d9ebad9b52605ed785222a86c84e58fa7cb66686 (diff) | |
| parent | 1693a1f9c83a0bf5a29fa18ddc2d87e04e049233 (diff) | |
Merge "Make art::HCompare side effect free."
Diffstat (limited to 'compiler/optimizing/nodes.h')
| -rw-r--r-- | compiler/optimizing/nodes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 4a4f193d4c..3733850745 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -3485,9 +3485,9 @@ class HCompare : public HBinaryOperation { return GetBias() == ComparisonBias::kGtBias; } - static SideEffects SideEffectsForArchRuntimeCalls(Primitive::Type type) { - // MIPS64 uses a runtime call for FP comparisons. - return Primitive::IsFloatingPointType(type) ? SideEffects::CanTriggerGC() : SideEffects::None(); + static SideEffects SideEffectsForArchRuntimeCalls(Primitive::Type type ATTRIBUTE_UNUSED) { + // Comparisons do not require a runtime call in any back end. + return SideEffects::None(); } DECLARE_INSTRUCTION(Compare); |