summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorDmitry Grigoryev <dmitry.grigoryev@outlook.com>2019-10-04 22:58:16 +0200
committerDmitry Grigoryev <dmitry.grigoryev@outlook.com>2019-10-10 21:01:01 +0200
commit2ece5dcf517ad907554e6923924e3001db73ae4c (patch)
tree6da2497b81c6f36086a6587cad6f25835d47427d /js
parenta0c5def1573f1254138969cdf69ba150b399b370 (diff)
downloaduxp-2ece5dcf517ad907554e6923924e3001db73ae4c.tar.gz
Replace calls to undefined functions isMarkable() and toMarkablePointer()
Diffstat (limited to 'js')
-rw-r--r--js/src/jit/arm/MacroAssembler-arm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jit/arm/MacroAssembler-arm.cpp b/js/src/jit/arm/MacroAssembler-arm.cpp
index a4161ab006..3421001f7a 100644
--- a/js/src/jit/arm/MacroAssembler-arm.cpp
+++ b/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);