From 86503785cd6414b8692e5c83cadaa2972b6a099b Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Thu, 11 Feb 2016 19:07:30 +0000 Subject: Fix x86-64 Baker's read barrier fast path for CheckCast. Use an art::x86_64::Label instead of an art::x86_64::NearLabel as end label when emitting code for a HCheckCast instruction, as the range of the latter may sometimes be too short when Baker's read barriers are enabled. Bug: 12687968 Change-Id: Ia9742dce65be7d4fb104688f3c4717b65df1fb54 --- compiler/optimizing/nodes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/optimizing/nodes.h') diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index daec096f3e..7f463a36e9 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -5451,6 +5451,8 @@ enum class TypeCheckKind { kArrayCheck // No optimization yet when checking against a generic array. }; +std::ostream& operator<<(std::ostream& os, TypeCheckKind rhs); + class HInstanceOf : public HExpression<2> { public: HInstanceOf(HInstruction* object, -- cgit v1.2.3-59-g8ed1b