Ensure there are no unsafe uses of MacroAssemblerARM64::dataTempRegister
authormsaboff@apple.com <msaboff@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 Jan 2018 19:13:28 +0000 (19:13 +0000)
committermsaboff@apple.com <msaboff@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 Jan 2018 19:13:28 +0000 (19:13 +0000)
commitcc3f4e62dddc1408035ef12fcbeec33dcaac7d9b
tree76dc2e3ab0bbd0ca620e4d255142d1638f0c303f
parent88a893f5933a1cf58b29101bfe9ec8cbed5049b2
Ensure there are no unsafe uses of MacroAssemblerARM64::dataTempRegister
https://bugs.webkit.org/show_bug.cgi?id=181512

Reviewed by Saam Barati.

* assembler/MacroAssemblerARM64.h:
(JSC::MacroAssemblerARM64::abortWithReason):
(JSC::MacroAssemblerARM64::pushToSaveImmediateWithoutTouchingRegisters):
All current uses of dataTempRegister in these functions are safe, but it makes sense to
fix them in case they might be used elsewhere.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/assembler/MacroAssemblerARM64.h