Unreviewed, follow-up fix after r249842
[WebKit-https.git] / Source / JavaScriptCore / assembler / MacroAssemblerARM64.h
index 10ebbef..559d8b7 100644 (file)
@@ -3247,6 +3247,7 @@ public:
 
     ALWAYS_INLINE Call nearCall()
     {
+        invalidateAllTempRegisters();
         m_assembler.bl();
         return Call(m_assembler.label(), Call::LinkableNear);
     }
@@ -3260,6 +3261,7 @@ public:
 
     ALWAYS_INLINE Call threadSafePatchableNearCall()
     {
+        invalidateAllTempRegisters();
         m_assembler.bl();
         return Call(m_assembler.label(), Call::LinkableNear);
     }