Replace calls to undefined functions isMarkable() and toMarkablePointer()

pull/24/head
Dmitry Grigoryev 3 years ago committed by Roy Tam
parent 1e7a9e0e28
commit 6ba305ded8
  1. 4
      js/src/jit/arm/MacroAssembler-arm.cpp

@ -3462,8 +3462,8 @@ MacroAssemblerARMCompat::storePayload(const Value& val, const Address& dest)
ScratchRegisterScope scratch(asMasm());
SecondScratchRegisterScope scratch2(asMasm());
if (val.isMarkable())
ma_mov(ImmGCPtr(val.toMarkablePointer()), scratch);
if (val.isGCThing())
ma_mov(ImmGCPtr(val.toGCThing()), scratch);
else
ma_mov(Imm32(val.toNunboxPayload()), scratch);
ma_str(scratch, ToPayload(dest), scratch2);

Loading…
Cancel
Save