From 31f477eb7f28c9e4647df3c18f7e4271436640be Mon Sep 17 00:00:00 2001 From: Goran Jakovljevic Date: Tue, 8 Mar 2016 15:26:51 +0100 Subject: MIPS32: Fix test 082-inline-execute This is fixing the test when run with --debuggable flag. Change-Id: Ifd11c28a77f1c6f6fe5951c5c27309187b29d3ee --- compiler/optimizing/intrinsics_mips.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'compiler/optimizing/intrinsics_mips.cc') diff --git a/compiler/optimizing/intrinsics_mips.cc b/compiler/optimizing/intrinsics_mips.cc index e159701a46..ed0b5b7548 100644 --- a/compiler/optimizing/intrinsics_mips.cc +++ b/compiler/optimizing/intrinsics_mips.cc @@ -1464,7 +1464,9 @@ void IntrinsicLocationsBuilderMIPS::VisitStringCharAt(HInvoke* invoke) { kIntrinsified); locations->SetInAt(0, Location::RequiresRegister()); locations->SetInAt(1, Location::RequiresRegister()); - locations->SetOut(Location::SameAsFirstInput()); + // The inputs will be considered live at the last instruction and restored. This will overwrite + // the output with kNoOutputOverlap. + locations->SetOut(Location::RequiresRegister(), Location::kOutputOverlap); } void IntrinsicCodeGeneratorMIPS::VisitStringCharAt(HInvoke* invoke) { -- cgit v1.2.3-59-g8ed1b