"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "js/src/jit/shared/LIR-shared.h" between
UXP-2019.03.27.tar.gz and UXP-2019.06.08.tar.gz

About: Basilisk is a full-featured, optimized browser derived from the code behind the pre-Servo Firefox browser (29–56 era). UXP = Unified XUL Platform. Source code.

LIR-shared.h  (UXP-2019.03.27):LIR-shared.h  (UXP-2019.06.08)
skipping to change at line 5888 skipping to change at line 5888
return getOperand(0); return getOperand(0);
} }
const LAllocation* index() { const LAllocation* index() {
return getOperand(1); return getOperand(1);
} }
const LAllocation* value() { const LAllocation* value() {
return getOperand(2); return getOperand(2);
} }
}; };
// If necessary, convert an unboxed object in a particular group to its native
// representation.
class LConvertUnboxedObjectToNative : public LInstructionHelper<0, 1, 0>
{
public:
LIR_HEADER(ConvertUnboxedObjectToNative)
explicit LConvertUnboxedObjectToNative(const LAllocation& object) {
setOperand(0, object);
}
MConvertUnboxedObjectToNative* mir() {
return mir_->toConvertUnboxedObjectToNative();
}
};
class LArrayPopShiftV : public LInstructionHelper<BOX_PIECES, 1, 2> class LArrayPopShiftV : public LInstructionHelper<BOX_PIECES, 1, 2>
{ {
public: public:
LIR_HEADER(ArrayPopShiftV) LIR_HEADER(ArrayPopShiftV)
LArrayPopShiftV(const LAllocation& object, const LDefinition& temp0, const L Definition& temp1) { LArrayPopShiftV(const LAllocation& object, const LDefinition& temp0, const L Definition& temp1) {
setOperand(0, object); setOperand(0, object);
setTemp(0, temp0); setTemp(0, temp0);
setTemp(1, temp1); setTemp(1, temp1);
} }
skipping to change at line 7426 skipping to change at line 7410
return getOperand(0); return getOperand(0);
} }
const LDefinition* temp() { const LDefinition* temp() {
return getTemp(0); return getTemp(0);
} }
const MGuardReceiverPolymorphic* mir() const { const MGuardReceiverPolymorphic* mir() const {
return mir_->toGuardReceiverPolymorphic(); return mir_->toGuardReceiverPolymorphic();
} }
}; };
class LGuardUnboxedExpando : public LInstructionHelper<0, 1, 0>
{
public:
LIR_HEADER(GuardUnboxedExpando)
explicit LGuardUnboxedExpando(const LAllocation& in) {
setOperand(0, in);
}
const LAllocation* object() {
return getOperand(0);
}
const MGuardUnboxedExpando* mir() const {
return mir_->toGuardUnboxedExpando();
}
};
class LLoadUnboxedExpando : public LInstructionHelper<1, 1, 0>
{
public:
LIR_HEADER(LoadUnboxedExpando)
explicit LLoadUnboxedExpando(const LAllocation& in) {
setOperand(0, in);
}
const LAllocation* object() {
return getOperand(0);
}
const MLoadUnboxedExpando* mir() const {
return mir_->toLoadUnboxedExpando();
}
};
// Guard that a value is in a TypeSet. // Guard that a value is in a TypeSet.
class LTypeBarrierV : public LInstructionHelper<0, BOX_PIECES, 1> class LTypeBarrierV : public LInstructionHelper<0, BOX_PIECES, 1>
{ {
public: public:
LIR_HEADER(TypeBarrierV) LIR_HEADER(TypeBarrierV)
LTypeBarrierV(const LBoxAllocation& input, const LDefinition& temp) { LTypeBarrierV(const LBoxAllocation& input, const LDefinition& temp) {
setBoxOperand(Input, input); setBoxOperand(Input, input);
setTemp(0, temp); setTemp(0, temp);
} }
 End of changes. 2 change blocks. 
48 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)