From 3e7fb604bc881a56f260814ddffba9320aa073d9 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 25 Nov 2013 21:00:06 -0800 Subject: [PATCH] Bug 942903 - IonMonkey: Mark BitAndAndBranch's uses as atStart. r=mjrosenb --- js/src/jit/arm/Lowering-arm.cpp | 4 ++-- js/src/jit/shared/Lowering-x86-shared.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/src/jit/arm/Lowering-arm.cpp b/js/src/jit/arm/Lowering-arm.cpp index e236138be5bd..cfe59a573858 100644 --- a/js/src/jit/arm/Lowering-arm.cpp +++ b/js/src/jit/arm/Lowering-arm.cpp @@ -210,8 +210,8 @@ bool LIRGeneratorARM::lowerForBitAndAndBranch(LBitAndAndBranch *baab, MInstruction *mir, MDefinition *lhs, MDefinition *rhs) { - baab->setOperand(0, useRegister(lhs)); - baab->setOperand(1, useRegisterOrConstant(rhs)); + baab->setOperand(0, useRegisterAtStart(lhs)); + baab->setOperand(1, useRegisterOrConstantAtStart(rhs)); return add(baab, mir); } diff --git a/js/src/jit/shared/Lowering-x86-shared.cpp b/js/src/jit/shared/Lowering-x86-shared.cpp index 2e8aca0e2234..28df612d7998 100644 --- a/js/src/jit/shared/Lowering-x86-shared.cpp +++ b/js/src/jit/shared/Lowering-x86-shared.cpp @@ -110,8 +110,8 @@ bool LIRGeneratorX86Shared::lowerForBitAndAndBranch(LBitAndAndBranch *baab, MInstruction *mir, MDefinition *lhs, MDefinition *rhs) { - baab->setOperand(0, useRegister(lhs)); - baab->setOperand(1, useRegisterOrConstant(rhs)); + baab->setOperand(0, useRegisterAtStart(lhs)); + baab->setOperand(1, useRegisterOrConstantAtStart(rhs)); return add(baab, mir); }