summaryrefslogtreecommitdiff
path: root/js/src/jit/arm
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
commita68a09618787980ff58b248c484b4017e3d2e663 (patch)
tree6da2497b81c6f36086a6587cad6f25835d47427d /js/src/jit/arm
parent1a86abc159e788c40ebdfc6a99c9143d168737af (diff)
downloaduxp-a68a09618787980ff58b248c484b4017e3d2e663.tar.gz
Replace calls to undefined functions isMarkable() and toMarkablePointer()
Diffstat (limited to 'js/src/jit/arm')
-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);